Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.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.00147/0.00147, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.001564/0.001564, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.606/1.606, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.259/0.259, allocations: 46.89 MB / 357.4 MB, free: 10.53 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.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test39",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.003169/0.003169, allocations: 80.12 kB / 0.4913 GB, free: 8.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1478, allocations: 65.99 MB / 0.5557 GB, free: 6.367 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003491/0.1513, allocations: 1.698 MB / 0.5574 GB, free: 4.652 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.1533, allocations: 1.014 MB / 0.5584 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.56e-05/0.1534, allocations: 4 kB / 0.5584 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003539/0.1537, allocations: 63.73 kB / 0.5584 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004044/0.1541, allocations: 107.6 kB / 0.5585 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.1543, allocations: 79.61 kB / 0.5586 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.1545, allocations: 103.7 kB / 0.5587 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.315e-05/0.1546, allocations: 240 / 0.5587 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.1547, allocations: 47.78 kB / 0.5588 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.1548, allocations: 55.75 kB / 0.5588 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.1548, allocations: 4 kB / 0.5588 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.132e-05/0.1549, allocations: 35.98 kB / 0.5589 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.001e-05/0.155, allocations: 27.84 kB / 0.5589 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.499e-05/0.1551, allocations: 23.81 kB / 0.5589 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.1553, allocations: 99.58 kB / 0.559 GB, free: 2.992 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.1553, allocations: 8 kB / 0.559 GB, free: 2.984 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1553, allocations: 3.938 kB / 0.559 GB, free: 2.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.1553, allocations: 3.984 kB / 0.559 GB, free: 2.977 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006681/0.156, allocations: 410.7 kB / 0.5594 GB, free: 2.527 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.156, allocations: 8.031 kB / 0.5594 GB, free: 2.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.826e-05/0.1561, allocations: 34.75 kB / 0.5594 GB, free: 2.477 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.1561, allocations: 12.84 kB / 0.5595 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.1565, allocations: 212.8 kB / 0.5597 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.1565, allocations: 4.375 kB / 0.5597 GB, free: 2.215 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.1565, allocations: 4.359 kB / 0.5597 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.1566, allocations: 49.81 kB / 0.5597 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1566, allocations: 0 / 0.5597 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1566, allocations: 0 / 0.5597 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1567, allocations: 0 / 0.5597 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.96e-05/0.1567, allocations: 15.98 kB / 0.5597 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002436/0.157, allocations: 185.6 kB / 0.5599 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.1571, allocations: 58.55 kB / 0.56 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.351e-05/0.1572, allocations: 20.84 kB / 0.56 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.1572, allocations: 0 / 0.56 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.1574, allocations: 71.31 kB / 0.5601 GB, free: 1.738 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.1574, allocations: 0 / 0.5601 GB, free: 1.738 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002874/0.1577, allocations: 97.56 kB / 0.5601 GB, free: 1.637 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.1577, allocations: 55.41 kB / 0.5602 GB, free: 1.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.1579, allocations: 198.3 kB / 0.5604 GB, free: 1.367 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.1579, allocations: 25.7 kB / 0.5604 GB, free: 1.336 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.386e-05/0.158, allocations: 100.1 kB / 0.5605 GB, free: 1.234 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.158, allocations: 15.91 kB / 0.5605 GB, free: 1.219 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.1581, allocations: 17.72 kB / 0.5605 GB, free: 1.195 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1582, allocations: 322.8 kB / 0.5608 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.121e-05/0.1583, allocations: 19.98 kB / 0.5609 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.358e-05/0.1583, allocations: 33.7 kB / 0.5609 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.487e-05/0.1584, allocations: 37.66 kB / 0.5609 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1584, allocations: 0 / 0.5609 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001692/0.1586, allocations: 97.77 kB / 0.561 GB, free: 0.668 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1586, allocations: 4 kB / 0.561 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1586, allocations: 4.031 kB / 0.561 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1586, allocations: 0 / 0.561 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.257e-05/0.1587, allocations: 15.94 kB / 0.5611 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.1587, allocations: 0 / 0.5611 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.473e-05/0.1588, allocations: 3.984 kB / 0.5611 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.639e-06/0.1588, allocations: 4 kB / 0.5611 GB, free: 0.6367 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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001245/0.1589, allocations: 127.5 kB / 0.5612 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.1589, allocations: 11.89 kB / 0.5612 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.031e-05/0.159, allocations: 20.98 kB / 0.5612 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.159, allocations: 4 kB / 0.5612 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.159, allocations: 3.938 kB / 0.5612 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.159, allocations: 0 / 0.5612 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.1592, allocations: 185.6 kB / 0.5614 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.1592, allocations: 7.922 kB / 0.5614 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.071e-05/0.1592, allocations: 4 kB / 0.5614 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1592, allocations: 0 / 0.5614 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.1592, allocations: 0 / 0.5614 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1592, allocations: 0 / 0.5614 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1592, allocations: 0 / 0.5614 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.1594, allocations: 117 kB / 0.5615 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.174e-05/0.1595, allocations: 85 kB / 0.5616 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.1595, allocations: 4 kB / 0.5616 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.745e-05/0.1596, allocations: 4 kB / 0.5616 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.1596, allocations: 7.984 kB / 0.5616 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.1596, allocations: 3.938 kB / 0.5616 GB, free: 15.96 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001506/0.1598, allocations: 148.2 kB / 0.5618 GB, free: 15.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1598, allocations: 4 kB / 0.5618 GB, free: 15.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002133/0.16, allocations: 12 kB / 0.5618 GB, free: 15.8 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001937/0.1619, allocations: 0.9516 MB / 0.5627 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001793/0.1621, allocations: 35.98 kB / 0.5627 GB, free: 14.94 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1621, allocations: 4.062 kB / 0.5627 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.568e-05/0.1622, allocations: 19.92 kB / 0.5628 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.1625, allocations: 31.67 kB / 0.5628 GB, free: 14.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.1642, allocations: 1.509 MB / 0.5643 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.1646, allocations: 0.7002 MB / 0.565 GB, free: 12.56 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.677e-05/0.1646, allocations: 24.47 kB / 0.565 GB, free: 12.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.007e-05/0.1647, allocations: 31.38 kB / 0.565 GB, free: 12.51 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1647, allocations: 0 / 0.565 GB, free: 12.51 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.1892, allocations: 3.19 MB / 0.5681 GB, free: 9.387 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.863/8.052, allocations: 64 / 0.5681 GB, free: 9.387 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.38666065922007] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.19085731729865 8.217876604 8.057630097 Calling exit ...