Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.001252/0.001252, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.001389/0.001389, allocations: 210.5 kB / 20.75 MB, free: 2.27 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 / 254 MB, free: 15.17 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2394/0.2394, allocations: 46.92 MB / 357 MB, free: 10.22 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 75.88 kB / 0.491 GB, free: 7.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1519, allocations: 66.04 MB / 0.5555 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003681/0.1556, allocations: 1.702 MB / 0.5572 GB, free: 3.785 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.1574, allocations: 1.018 MB / 0.5582 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.913e-05/0.1575, allocations: 3.938 kB / 0.5582 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000397/0.1579, allocations: 59.8 kB / 0.5582 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003744/0.1583, allocations: 115.5 kB / 0.5584 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.1585, allocations: 71.72 kB / 0.5584 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.1587, allocations: 103.7 kB / 0.5585 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.037e-05/0.1588, allocations: 4.234 kB / 0.5585 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.1589, allocations: 51.77 kB / 0.5586 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.159, allocations: 59.69 kB / 0.5586 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.159, allocations: 4 kB / 0.5586 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1591, allocations: 39.92 kB / 0.5587 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.138e-05/0.1592, allocations: 19.92 kB / 0.5587 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.604e-05/0.1592, allocations: 31.75 kB / 0.5587 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.1595, allocations: 95.58 kB / 0.5588 GB, free: 2.113 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.1595, allocations: 3.984 kB / 0.5588 GB, free: 2.109 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1595, allocations: 0 / 0.5588 GB, free: 2.109 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1595, allocations: 4 kB / 0.5588 GB, free: 2.105 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.0006561/0.1602, allocations: 414.8 kB / 0.5592 GB, free: 1.652 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.1602, allocations: 8.031 kB / 0.5592 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.884e-05/0.1603, allocations: 34.69 kB / 0.5593 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.1603, allocations: 16.83 kB / 0.5593 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.1606, allocations: 208.9 kB / 0.5595 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.1606, allocations: 8.359 kB / 0.5595 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.1607, allocations: 384 / 0.5595 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.1608, allocations: 45.81 kB / 0.5595 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.1608, allocations: 4 kB / 0.5595 GB, free: 1.281 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.1608, allocations: 4 kB / 0.5595 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.1608, allocations: 3.984 kB / 0.5595 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.98e-05/0.1609, allocations: 12 kB / 0.5596 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002353/0.1611, allocations: 181.6 kB / 0.5597 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.1613, allocations: 58.55 kB / 0.5598 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.573e-05/0.1614, allocations: 16.84 kB / 0.5598 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.1614, allocations: 11.94 kB / 0.5598 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.1616, allocations: 63.33 kB / 0.5599 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.1616, allocations: 0 / 0.5599 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003109/0.1619, allocations: 97.56 kB / 0.56 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.1619, allocations: 51.41 kB / 0.56 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.1621, allocations: 202.4 kB / 0.5602 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1622, allocations: 29.7 kB / 0.5602 GB, free: 468 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.752e-05/0.1622, allocations: 100.1 kB / 0.5603 GB, free: 364 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.1623, allocations: 15.91 kB / 0.5603 GB, free: 348 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.1623, allocations: 17.72 kB / 0.5604 GB, free: 324 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.1625, allocations: 322.8 kB / 0.5607 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.328e-05/0.1626, allocations: 15.98 kB / 0.5607 GB, free: 15.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.929e-05/0.1626, allocations: 25.7 kB / 0.5607 GB, free: 15.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.1627, allocations: 49.66 kB / 0.5608 GB, free: 15.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1627, allocations: 0 / 0.5608 GB, free: 15.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000179/0.1629, allocations: 89.83 kB / 0.5608 GB, free: 15.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1629, allocations: 5.875 kB / 0.5608 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1629, allocations: 7.938 kB / 0.5609 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1629, allocations: 3.938 kB / 0.5609 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.098e-05/0.163, allocations: 12 kB / 0.5609 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.163, allocations: 0 / 0.5609 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.976e-05/0.1631, allocations: 15.95 kB / 0.5609 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.1631, allocations: 0 / 0.5609 GB, free: 15.75 MB / 430.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.000116/0.1632, allocations: 125.8 kB / 0.561 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.1632, allocations: 11.89 kB / 0.561 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.863e-05/0.1633, allocations: 16.98 kB / 0.561 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1633, allocations: 0 / 0.561 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.1633, allocations: 0 / 0.561 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.1633, allocations: 4 kB / 0.561 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.1635, allocations: 189.6 kB / 0.5612 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1635, allocations: 11.94 kB / 0.5612 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.751e-05/0.1635, allocations: 0 / 0.5612 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.1635, allocations: 4 kB / 0.5612 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1635, allocations: 0 / 0.5612 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.317e-06/0.1635, allocations: 3.938 kB / 0.5612 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1635, allocations: 0 / 0.5612 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.1637, allocations: 109 kB / 0.5613 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.484e-05/0.1638, allocations: 89 kB / 0.5614 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.1638, allocations: 4 kB / 0.5614 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.226e-05/0.1639, allocations: 11.98 kB / 0.5614 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.1639, allocations: 0 / 0.5614 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.1639, allocations: 4 kB / 0.5614 GB, free: 15.08 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.1641, allocations: 148.2 kB / 0.5616 GB, free: 14.94 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1641, allocations: 0 / 0.5616 GB, free: 14.94 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002184/0.1643, allocations: 12 kB / 0.5616 GB, free: 14.93 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.002029/0.1663, allocations: 0.9448 MB / 0.5625 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.1665, allocations: 35.98 kB / 0.5626 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1665, allocations: 0 / 0.5626 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.351e-05/0.1666, allocations: 23.92 kB / 0.5626 GB, free: 14.03 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.1669, allocations: 27.86 kB / 0.5626 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.1688, allocations: 1.513 MB / 0.5641 GB, free: 12.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.1691, allocations: 0.7002 MB / 0.5648 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.627e-05/0.1692, allocations: 20.53 kB / 0.5648 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.912e-05/0.1693, allocations: 31.44 kB / 0.5648 GB, free: 11.62 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1693, allocations: 0 / 0.5648 GB, free: 11.62 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/0.196, allocations: 3.166 MB / 0.5679 GB, free: 8.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.794/7.99, allocations: 3.938 kB / 0.5679 GB, free: 8.516 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000699161 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.225605143001303]