Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.557/1.557, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2378/0.2378, allocations: 46.92 MB / 357.1 MB, free: 10.32 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003226/0.003226, allocations: 71.88 kB / 0.491 GB, free: 7.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1646, allocations: 65.98 MB / 0.5554 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003405/0.168, allocations: 1.7 MB / 0.5571 GB, free: 4.062 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.1698, allocations: 1.019 MB / 0.5581 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.947e-05/0.1699, allocations: 3.938 kB / 0.5581 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003589/0.1702, allocations: 55.8 kB / 0.5582 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003307/0.1706, allocations: 115.5 kB / 0.5583 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.1707, allocations: 67.73 kB / 0.5583 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.171, allocations: 107.7 kB / 0.5584 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.967e-05/0.171, allocations: 8.219 kB / 0.5584 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.1711, allocations: 47.78 kB / 0.5585 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.1712, allocations: 55.75 kB / 0.5585 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.1713, allocations: 8 kB / 0.5585 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.441e-05/0.1713, allocations: 39.92 kB / 0.5586 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.425e-05/0.1714, allocations: 15.92 kB / 0.5586 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.026e-05/0.1715, allocations: 35.73 kB / 0.5586 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.1717, allocations: 103.6 kB / 0.5587 GB, free: 2.387 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1717, allocations: 0 / 0.5587 GB, free: 2.387 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1717, allocations: 0 / 0.5587 GB, free: 2.387 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1717, allocations: 0 / 0.5587 GB, free: 2.387 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.0006674/0.1724, allocations: 410.7 kB / 0.5591 GB, free: 1.938 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.1724, allocations: 12.03 kB / 0.5591 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.209e-05/0.1725, allocations: 42.69 kB / 0.5592 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.1725, allocations: 16.83 kB / 0.5592 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.1728, allocations: 203.2 kB / 0.5594 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.1729, allocations: 4.359 kB / 0.5594 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.1729, allocations: 3.938 kB / 0.5594 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.173, allocations: 49.69 kB / 0.5594 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.173, allocations: 0 / 0.5594 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.173, allocations: 0 / 0.5594 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.1731, allocations: 3.984 kB / 0.5594 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.513e-05/0.1731, allocations: 16 kB / 0.5595 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002325/0.1734, allocations: 189.6 kB / 0.5596 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.1735, allocations: 50.55 kB / 0.5597 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.659e-05/0.1736, allocations: 20.84 kB / 0.5597 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.1736, allocations: 3.938 kB / 0.5597 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.1738, allocations: 71.39 kB / 0.5598 GB, free: 1.141 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.1738, allocations: 0 / 0.5598 GB, free: 1.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003145/0.1741, allocations: 93.56 kB / 0.5599 GB, free: 1.043 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.1742, allocations: 51.41 kB / 0.5599 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.1744, allocations: 198.4 kB / 0.5601 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.1744, allocations: 29.64 kB / 0.5601 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.97e-05/0.1745, allocations: 104.1 kB / 0.5602 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.1745, allocations: 19.89 kB / 0.5603 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.1746, allocations: 17.72 kB / 0.5603 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1747, allocations: 322.8 kB / 0.5606 GB, free: 276 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.803e-05/0.1748, allocations: 15.98 kB / 0.5606 GB, free: 260 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.367e-05/0.1749, allocations: 29.7 kB / 0.5606 GB, free: 224 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.175, allocations: 53.91 kB / 0.5607 GB, free: 164 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.175, allocations: 3.938 kB / 0.5607 GB, free: 160 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001692/0.1752, allocations: 85.52 kB / 0.5608 GB, free: 68 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.1752, allocations: 8 kB / 0.5608 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1752, allocations: 0 / 0.5608 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1752, allocations: 0 / 0.5608 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.225e-05/0.1753, allocations: 8 kB / 0.5608 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.1753, allocations: 4 kB / 0.5608 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.883e-05/0.1754, allocations: 7.922 kB / 0.5608 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.1754, allocations: 4.031 kB / 0.5608 GB, free: 36 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 (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.0001426/0.1755, allocations: 133.9 kB / 0.5609 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.1755, allocations: 7.953 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.446e-05/0.1756, allocations: 16.98 kB / 0.5609 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1756, allocations: 4 kB / 0.5609 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1756, allocations: 0 / 0.5609 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1756, allocations: 0 / 0.5609 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.1758, allocations: 193.5 kB / 0.5611 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1758, allocations: 0 / 0.5611 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.05e-05/0.1758, allocations: 4 kB / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1758, allocations: 4 kB / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1758, allocations: 3.938 kB / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1758, allocations: 0 / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1758, allocations: 0 / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.176, allocations: 116.9 kB / 0.5612 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.644e-05/0.176, allocations: 85.06 kB / 0.5613 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.1761, allocations: 0 / 0.5613 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.931e-05/0.1761, allocations: 12.11 kB / 0.5613 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.1761, allocations: 4 kB / 0.5613 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.1761, allocations: 4 kB / 0.5613 GB, free: 15.36 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001437/0.1763, allocations: 148.2 kB / 0.5615 GB, free: 15.22 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1763, allocations: 0 / 0.5615 GB, free: 15.22 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002139/0.1765, allocations: 16 kB / 0.5615 GB, free: 15.2 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.00196/0.1785, allocations: 0.953 MB / 0.5624 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.1786, allocations: 39.98 kB / 0.5625 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1786, allocations: 0 / 0.5625 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.28e-05/0.1787, allocations: 19.92 kB / 0.5625 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.179, allocations: 23.98 kB / 0.5625 GB, free: 14.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.1808, allocations: 1.517 MB / 0.564 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.1812, allocations: 0.7041 MB / 0.5647 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.834e-05/0.1812, allocations: 16.53 kB / 0.5647 GB, free: 11.94 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.989e-05/0.1813, allocations: 23.44 kB / 0.5647 GB, free: 11.92 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1813, allocations: 0 / 0.5647 GB, free: 11.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.2066, allocations: 3.18 MB / 0.5678 GB, free: 8.801 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.753/7.96, allocations: 3.5 kB / 0.5678 GB, free: 8.801 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.2577506529924]