Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.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.001313/0.001313, allocations: 119.7 kB / 18.5 MB, free: 4.539 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.001465/0.001465, allocations: 213.6 kB / 21.46 MB, free: 1.586 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.55/1.55, allocations: 230.2 MB / 254.5 MB, free: 15.09 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.2543/0.2543, allocations: 46.88 MB / 357.4 MB, free: 10.59 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.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25",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.002273/0.002273, allocations: 83.84 kB / 0.4912 GB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1571, allocations: 65.98 MB / 0.5557 GB, free: 6.434 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003112/0.1602, allocations: 1.697 MB / 0.5573 GB, free: 4.723 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.1613, allocations: 0.5683 MB / 0.5579 GB, free: 4.152 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.827e-05/0.1614, allocations: 4 kB / 0.5579 GB, free: 4.148 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.1617, allocations: 55.73 kB / 0.558 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003065/0.162, allocations: 103.6 kB / 0.5581 GB, free: 3.992 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.1624, allocations: 174.9 kB / 0.5582 GB, free: 3.828 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.1626, allocations: 87.8 kB / 0.5583 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.1628, allocations: 28.16 kB / 0.5583 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.898e-05/0.1629, allocations: 27.92 kB / 0.5584 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.163, allocations: 55.75 kB / 0.5584 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.163, allocations: 4 kB / 0.5584 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.1631, allocations: 51.97 kB / 0.5585 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.407e-05/0.1632, allocations: 27.86 kB / 0.5585 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.079e-05/0.1632, allocations: 35.73 kB / 0.5585 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.1635, allocations: 107.6 kB / 0.5586 GB, free: 3.406 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1635, allocations: 0 / 0.5586 GB, free: 3.406 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1635, allocations: 0 / 0.5586 GB, free: 3.406 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.1635, allocations: 0 / 0.5586 GB, free: 3.406 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006571/0.1642, allocations: 434.6 kB / 0.559 GB, free: 2.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.1642, allocations: 12.02 kB / 0.5591 GB, free: 2.918 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.637e-05/0.1643, allocations: 34.75 kB / 0.5591 GB, free: 2.875 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.1643, allocations: 16.84 kB / 0.5591 GB, free: 2.859 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.1646, allocations: 204.1 kB / 0.5593 GB, free: 2.621 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1646, allocations: 4.375 kB / 0.5593 GB, free: 2.617 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.1646, allocations: 8.312 kB / 0.5593 GB, free: 2.609 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.1648, allocations: 70.22 kB / 0.5594 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.1649, allocations: 3.938 kB / 0.5594 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.1649, allocations: 0 / 0.5594 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1649, allocations: 0 / 0.5594 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.165, allocations: 51.89 kB / 0.5594 GB, free: 2.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005277/0.1655, allocations: 320.8 kB / 0.5597 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.1658, allocations: 62.58 kB / 0.5598 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.232e-05/0.1659, allocations: 28.97 kB / 0.5598 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.1659, allocations: 0 / 0.5598 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.1659, allocations: 30.56 kB / 0.5599 GB, free: 1.977 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.1659, allocations: 0 / 0.5599 GB, free: 1.977 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001462/0.1674, allocations: 433.4 kB / 0.5603 GB, free: 1.547 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.1675, allocations: 55.34 kB / 0.5603 GB, free: 1.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.1677, allocations: 194.1 kB / 0.5605 GB, free: 1.277 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1677, allocations: 25.7 kB / 0.5605 GB, free: 1.246 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.459e-05/0.1678, allocations: 108.1 kB / 0.5606 GB, free: 1.137 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.1678, allocations: 43.58 kB / 0.5607 GB, free: 1.094 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.1679, allocations: 25.72 kB / 0.5607 GB, free: 1.062 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.168, allocations: 326.8 kB / 0.561 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.1681, allocations: 51.95 kB / 0.5611 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.1683, allocations: 51.95 kB / 0.5611 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.1685, allocations: 128.8 kB / 0.5612 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1685, allocations: 0 / 0.5612 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003427/0.1689, allocations: 161.5 kB / 0.5614 GB, free: 348 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1689, allocations: 4 kB / 0.5614 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.1689, allocations: 0 / 0.5614 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1689, allocations: 4 kB / 0.5614 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.169, allocations: 35.91 kB / 0.5614 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.1691, allocations: 3.938 kB / 0.5614 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.79e-05/0.1691, allocations: 15.98 kB / 0.5614 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1691, allocations: 0 / 0.5614 GB, free: 284 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 11 * 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.0001204/0.1693, allocations: 129.8 kB / 0.5616 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.1693, allocations: 15.89 kB / 0.5616 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004445/0.1697, allocations: 194.1 kB / 0.5618 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1697, allocations: 0 / 0.5618 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1697, allocations: 7.875 kB / 0.5618 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1697, allocations: 7.984 kB / 0.5618 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007462/0.1705, allocations: 0.4961 MB / 0.5623 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1705, allocations: 3.938 kB / 0.5623 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.1706, allocations: 31.97 kB / 0.5623 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.1706, allocations: 4 kB / 0.5623 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.1706, allocations: 0 / 0.5623 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1706, allocations: 0 / 0.5623 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1706, allocations: 4 kB / 0.5623 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.171, allocations: 273.7 kB / 0.5626 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/0.1711, allocations: 92.95 kB / 0.5627 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.1711, allocations: 11.92 kB / 0.5627 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.582e-05/0.1712, allocations: 8.188 kB / 0.5627 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.1713, allocations: 11.98 kB / 0.5627 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.1713, allocations: 12 kB / 0.5627 GB, free: 14.87 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.1714, allocations: 139.2 kB / 0.5628 GB, free: 14.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1714, allocations: 0 / 0.5628 GB, free: 14.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.1717, allocations: 24 kB / 0.5629 GB, free: 14.71 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002413/0.1741, allocations: 1.156 MB / 0.564 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003614/0.1744, allocations: 123.8 kB / 0.5641 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1744, allocations: 0 / 0.5641 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.1746, allocations: 63.89 kB / 0.5642 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.175, allocations: 27.14 kB / 0.5642 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.1776, allocations: 1.905 MB / 0.5661 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.178, allocations: 0.7119 MB / 0.5667 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.1781, allocations: 32.53 kB / 0.5668 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.822e-05/0.1782, allocations: 39.61 kB / 0.5668 GB, free: 10.69 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1782, allocations: 0 / 0.5668 GB, free: 10.69 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.2039, allocations: 3.488 MB / 0.5702 GB, free: 7.262 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.093, allocations: 3.938 kB / 0.5702 GB, free: 7.258 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.33354659518227] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y', 'd2_t_new.y'] 8.213934072759002 8.228851673 8.062176471 Calling exit ...