Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001845/0.001845, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001545/0.001545, allocations: 211.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 230.5 MB / 258.2 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2179/0.2179, allocations: 46.93 MB / 361.6 MB, free: 4.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002421/0.002421, allocations: 71.88 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3204, allocations: 66.09 MB / 0.5615 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003505/0.3239, allocations: 2.033 MB / 0.5635 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.3253, allocations: 0.8226 MB / 0.5643 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.183e-05/0.3254, allocations: 4 kB / 0.5643 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004661/0.3258, allocations: 179.4 kB / 0.5645 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004691/0.3263, allocations: 207.2 kB / 0.5647 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009202/0.3272, allocations: 421 kB / 0.5651 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004073/0.3276, allocations: 303.1 kB / 0.5654 GB, free: 316 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.3278, allocations: 50.81 kB / 0.5654 GB, free: 264 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.328, allocations: 135.5 kB / 0.5656 GB, free: 128 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002652/0.3282, allocations: 179.4 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.3283, allocations: 15.84 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.958e-05/0.3284, allocations: 40 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001898/0.3285, allocations: 171.5 kB / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001852/0.3287, allocations: 198.4 kB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005105/0.3292, allocations: 441.8 kB / 0.5666 GB, free: 15.1 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3292, allocations: 0 / 0.5666 GB, free: 15.1 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3292, allocations: 0 / 0.5666 GB, free: 15.1 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.3292, allocations: 4 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001337/0.3306, allocations: 0.8184 MB / 0.5674 GB, free: 14.24 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3306, allocations: 8.031 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.976e-05/0.3307, allocations: 42.73 kB / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.496e-05/0.3308, allocations: 68.52 kB / 0.5675 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006784/0.3315, allocations: 479 kB / 0.5679 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.3315, allocations: 8.375 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.3315, allocations: 16.33 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004042/0.3319, allocations: 151.9 kB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.3319, allocations: 7.938 kB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.3319, allocations: 4 kB / 0.5681 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.3319, allocations: 0 / 0.5681 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004681/0.3324, allocations: 139.8 kB / 0.5682 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.3335, allocations: 0.7104 MB / 0.5689 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003793/0.3339, allocations: 137.1 kB / 0.5691 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.3341, allocations: 73.72 kB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.3341, allocations: 8 kB / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.3342, allocations: 38.77 kB / 0.5692 GB, free: 12.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.3342, allocations: 0 / 0.5692 GB, free: 12.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.002605/0.3368, allocations: 0.8307 MB / 0.57 GB, free: 11.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.3368, allocations: 81.05 kB / 0.5701 GB, free: 11.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.3381, allocations: 1.078 MB / 0.5711 GB, free: 10.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.3381, allocations: 29.7 kB / 0.5711 GB, free: 10.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.3384, allocations: 292.3 kB / 0.5714 GB, free: 9.887 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.334e-05/0.3385, allocations: 63.48 kB / 0.5715 GB, free: 9.824 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.112e-05/0.3385, allocations: 33.7 kB / 0.5715 GB, free: 9.785 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.3387, allocations: 314 kB / 0.5718 GB, free: 9.473 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004164/0.3391, allocations: 119.9 kB / 0.5719 GB, free: 9.355 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004046/0.3395, allocations: 129.6 kB / 0.5721 GB, free: 9.223 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007894/0.3403, allocations: 261.4 kB / 0.5723 GB, free: 8.961 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3403, allocations: 0 / 0.5723 GB, free: 8.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001001/0.3413, allocations: 364.9 kB / 0.5727 GB, free: 8.598 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3413, allocations: 4 kB / 0.5727 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3413, allocations: 0 / 0.5727 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3413, allocations: 0 / 0.5727 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003274/0.3416, allocations: 68.67 kB / 0.5727 GB, free: 8.527 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.3417, allocations: 4 kB / 0.5727 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.3419, allocations: 40.12 kB / 0.5728 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.3419, allocations: 11.94 kB / 0.5728 GB, free: 8.473 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000278/0.3422, allocations: 230.6 kB / 0.573 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.3423, allocations: 71.47 kB / 0.5731 GB, free: 8.168 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.3434, allocations: 394.9 kB / 0.5734 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3434, allocations: 0 / 0.5734 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3434, allocations: 8 kB / 0.5734 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.3434, allocations: 7.984 kB / 0.5735 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.3452, allocations: 0.9259 MB / 0.5744 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.3452, allocations: 0 / 0.5744 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002831/0.3455, allocations: 63.88 kB / 0.5744 GB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.3455, allocations: 3.938 kB / 0.5744 GB, free: 6.715 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.3455, allocations: 8 kB / 0.5744 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3455, allocations: 0 / 0.5744 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3455, allocations: 4 kB / 0.5744 GB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.3466, allocations: 0.5214 MB / 0.5749 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.3468, allocations: 95.53 kB / 0.575 GB, free: 6.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.359e-05/0.3468, allocations: 7.938 kB / 0.575 GB, free: 6.062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000307/0.3472, allocations: 39.94 kB / 0.5751 GB, free: 6.023 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-05/0.3472, allocations: 23.97 kB / 0.5751 GB, free: 6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.3473, allocations: 7.938 kB / 0.5751 GB, free: 5.992 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009847/0.3482, allocations: 0.788 MB / 0.5759 GB, free: 5.211 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3482, allocations: 0 / 0.5759 GB, free: 5.211 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003743/0.3486, allocations: 63.98 kB / 0.5759 GB, free: 5.148 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002833/0.3515, allocations: 1.363 MB / 0.5773 GB, free: 3.898 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00092/0.3524, allocations: 267.7 kB / 0.5775 GB, free: 3.637 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3524, allocations: 0 / 0.5775 GB, free: 3.637 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004428/0.3528, allocations: 143.7 kB / 0.5777 GB, free: 3.496 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007028/0.3535, allocations: 94.69 kB / 0.5778 GB, free: 3.398 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009265/0.3628, allocations: 6.062 MB / 0.5837 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005446/0.3633, allocations: 0.8855 MB / 0.5845 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002282/0.3636, allocations: 95.61 kB / 0.5846 GB, free: 12.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002768/0.3638, allocations: 187.4 kB / 0.5848 GB, free: 12.05 MB / 430.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3638, allocations: 0 / 0.5848 GB, free: 12.05 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06676/0.4306, allocations: 11.67 MB / 0.5962 GB, free: 412 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.186/9.617, allocations: 8.047 kB / 0.5962 GB, free: 404 kB / 430.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.csv --start-time -1 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009994 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.794337515719235] Failed to read output from testmodel.py, exit status != 0: ['time', 'der1.y', 'der2.y', 'der3.y', 'der4.y'] 9.765670218970627 9.78521082 9.452573675 Calling exit ...