Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.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.001842/0.001842, allocations: 122.7 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.002227/0.002227, allocations: 210.5 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.492/1.492, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2523/0.2523, allocations: 46.88 MB / 357.4 MB, free: 10.51 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.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test2",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.002298/0.002298, allocations: 79.88 kB / 0.4913 GB, free: 8.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1618, allocations: 65.98 MB / 0.5557 GB, free: 6.336 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.004192/0.166, allocations: 1.733 MB / 0.5574 GB, free: 4.586 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.1682, allocations: 1.034 MB / 0.5584 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.853e-05/0.1683, allocations: 0 / 0.5584 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003499/0.1686, allocations: 43.77 kB / 0.5585 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003478/0.169, allocations: 91.59 kB / 0.5586 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.1692, allocations: 71.69 kB / 0.5586 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.1694, allocations: 119.6 kB / 0.5588 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1695, allocations: 8 kB / 0.5588 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.1696, allocations: 43.78 kB / 0.5588 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.724e-05/0.1697, allocations: 31.84 kB / 0.5588 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.1697, allocations: 0 / 0.5588 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1698, allocations: 47.98 kB / 0.5589 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.241e-05/0.1699, allocations: 19.92 kB / 0.5589 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.948e-05/0.1699, allocations: 35.73 kB / 0.5589 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.1702, allocations: 111.5 kB / 0.559 GB, free: 2.934 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.1702, allocations: 0 / 0.559 GB, free: 2.934 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.634e-06/0.1702, allocations: 4 kB / 0.559 GB, free: 2.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.1702, allocations: 0 / 0.559 GB, free: 2.93 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007002/0.1709, allocations: 418.7 kB / 0.5594 GB, free: 2.473 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.171, allocations: 8.031 kB / 0.5595 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.347e-05/0.171, allocations: 38.73 kB / 0.5595 GB, free: 2.418 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.1711, allocations: 8.891 kB / 0.5595 GB, free: 2.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.1715, allocations: 208.2 kB / 0.5597 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.1715, allocations: 384 / 0.5597 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.1715, allocations: 384 / 0.5597 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1717, allocations: 69.73 kB / 0.5598 GB, free: 2.094 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.1717, allocations: 0 / 0.5598 GB, free: 2.094 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1717, allocations: 0 / 0.5598 GB, free: 2.094 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1717, allocations: 0 / 0.5598 GB, free: 2.094 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.933e-05/0.1718, allocations: 19.98 kB / 0.5598 GB, free: 2.074 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005365/0.1723, allocations: 284.8 kB / 0.5601 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.1725, allocations: 66.55 kB / 0.5601 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.1726, allocations: 16.86 kB / 0.5601 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.1726, allocations: 0 / 0.5601 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.1728, allocations: 71.39 kB / 0.5602 GB, free: 1.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1728, allocations: 0 / 0.5602 GB, free: 1.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005969/0.1734, allocations: 177.3 kB / 0.5604 GB, free: 1.391 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.1734, allocations: 55.41 kB / 0.5604 GB, free: 1.324 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.1736, allocations: 170.2 kB / 0.5606 GB, free: 1.145 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.1736, allocations: 29.7 kB / 0.5606 GB, free: 1.109 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.838e-05/0.1737, allocations: 96.14 kB / 0.5607 GB, free: 1.012 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.1737, allocations: 23.78 kB / 0.5607 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.1738, allocations: 25.72 kB / 0.5608 GB, free: 0.957 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.174, allocations: 326.8 kB / 0.5611 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.343e-05/0.174, allocations: 23.98 kB / 0.5611 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.1742, allocations: 41.64 kB / 0.5611 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.1743, allocations: 53.78 kB / 0.5612 GB, free: 0.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1743, allocations: 0 / 0.5612 GB, free: 0.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000205/0.1745, allocations: 113.5 kB / 0.5613 GB, free: 392 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1745, allocations: 4 kB / 0.5613 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1745, allocations: 0 / 0.5613 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1745, allocations: 4.031 kB / 0.5613 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.1746, allocations: 19.98 kB / 0.5613 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1746, allocations: 0 / 0.5613 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.194e-05/0.1747, allocations: 192 / 0.5613 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.1747, allocations: 4 kB / 0.5613 GB, free: 360 kB / 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 (10): * Single equations (assignments): 10 * 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.000122/0.1748, allocations: 141.6 kB / 0.5615 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.1748, allocations: 7.953 kB / 0.5615 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.427e-05/0.1749, allocations: 12.72 kB / 0.5615 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1749, allocations: 8 kB / 0.5615 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1749, allocations: 0 / 0.5615 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1749, allocations: 0 / 0.5615 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005259/0.1754, allocations: 395.2 kB / 0.5619 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1754, allocations: 0 / 0.5619 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.151e-05/0.1755, allocations: 8 kB / 0.5619 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1755, allocations: 0 / 0.5619 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1755, allocations: 7.938 kB / 0.5619 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1755, allocations: 3.938 kB / 0.5619 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1755, allocations: 4.031 kB / 0.5619 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.1757, allocations: 204.3 kB / 0.5621 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.1758, allocations: 93 kB / 0.5622 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.1759, allocations: 384 / 0.5622 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.166e-05/0.1759, allocations: 11.94 kB / 0.5622 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.176, allocations: 7.984 kB / 0.5622 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.176, allocations: 12 kB / 0.5622 GB, free: 15.35 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001188/0.1761, allocations: 132.1 kB / 0.5623 GB, free: 15.22 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1761, allocations: 0 / 0.5623 GB, free: 15.22 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.1764, allocations: 23.94 kB / 0.5623 GB, free: 15.2 MB / 430.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.002231/0.1786, allocations: 1.084 MB / 0.5634 GB, free: 14.26 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000214/0.1788, allocations: 59.84 kB / 0.5635 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1788, allocations: 0 / 0.5635 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.455e-05/0.1789, allocations: 35.98 kB / 0.5635 GB, free: 14.17 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.1792, allocations: 26.41 kB / 0.5635 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.1812, allocations: 1.605 MB / 0.5651 GB, free: 12.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/0.1817, allocations: 0.7002 MB / 0.5658 GB, free: 11.72 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.573e-05/0.1818, allocations: 17.19 kB / 0.5658 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.091e-05/0.1818, allocations: 31.42 kB / 0.5658 GB, free: 11.67 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1818, allocations: 0 / 0.5658 GB, free: 11.67 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02874/0.2106, allocations: 3.365 MB / 0.5691 GB, free: 8.367 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.013/8.224, allocations: 13.61 kB / 0.5691 GB, free: 8.359 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.397825642023236] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.348688014782965 8.375303726 8.20039737 Calling exit ...