Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.00144/0.00144, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001425/0.001425, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.546/1.546, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.3248/0.3248, allocations: 46.93 MB / 357.1 MB, free: 10.33 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.Test81,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002439/0.002439, allocations: 67.91 kB / 0.491 GB, free: 7.914 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1582, allocations: 65.98 MB / 0.5554 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003697/0.1619, allocations: 1.823 MB / 0.5572 GB, free: 3.961 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003034/0.1649, allocations: 1.711 MB / 0.5589 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.1651, allocations: 7.938 kB / 0.5589 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003854/0.1655, allocations: 43.69 kB / 0.5589 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004895/0.166, allocations: 147.3 kB / 0.5591 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.1663, allocations: 111.7 kB / 0.5592 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003352/0.1666, allocations: 207.3 kB / 0.5594 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.038e-05/0.1667, allocations: 5.688 kB / 0.5594 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.1668, allocations: 91.56 kB / 0.5595 GB, free: 1.637 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002784/0.1671, allocations: 93.31 kB / 0.5596 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.1672, allocations: 8 kB / 0.5596 GB, free: 1.539 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.1674, allocations: 111.9 kB / 0.5597 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.224e-05/0.1675, allocations: 39.83 kB / 0.5597 GB, free: 1.391 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.13e-05/0.1676, allocations: 59.61 kB / 0.5598 GB, free: 1.332 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004157/0.168, allocations: 231 kB / 0.56 GB, free: 1.105 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.168, allocations: 0 / 0.56 GB, free: 1.105 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.168, allocations: 4 kB / 0.56 GB, free: 1.102 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.168, allocations: 0 / 0.56 GB, free: 1.102 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000822/0.1689, allocations: 0.5019 MB / 0.5605 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.1689, allocations: 8.031 kB / 0.5605 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.368e-05/0.1689, allocations: 38.75 kB / 0.5605 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.279e-05/0.169, allocations: 20.84 kB / 0.5606 GB, free: 488 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004413/0.1694, allocations: 249.1 kB / 0.5608 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.1695, allocations: 8.375 kB / 0.5608 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.1695, allocations: 11.94 kB / 0.5608 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.1697, allocations: 105 kB / 0.5609 GB, free: 56 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.1697, allocations: 0 / 0.5609 GB, free: 56 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.1697, allocations: 7.984 kB / 0.5609 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1698, allocations: 0 / 0.5609 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.1699, allocations: 35.91 kB / 0.5609 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.1702, allocations: 218.5 kB / 0.5612 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.1705, allocations: 101.2 kB / 0.5613 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.649e-05/0.1706, allocations: 37.7 kB / 0.5613 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.986e-05/0.1706, allocations: 7.938 kB / 0.5613 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000259/0.1709, allocations: 105.1 kB / 0.5614 GB, free: 15.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.1709, allocations: 0 / 0.5614 GB, free: 15.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005211/0.1714, allocations: 169.4 kB / 0.5616 GB, free: 15.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.1715, allocations: 132.5 kB / 0.5617 GB, free: 15.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003152/0.1718, allocations: 244.1 kB / 0.5619 GB, free: 14.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.1719, allocations: 29.7 kB / 0.5619 GB, free: 14.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.48e-05/0.172, allocations: 116.1 kB / 0.5621 GB, free: 14.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.397e-05/0.172, allocations: 27.8 kB / 0.5621 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/0.1721, allocations: 25.72 kB / 0.5621 GB, free: 14.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.1723, allocations: 334.8 kB / 0.5624 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.663e-05/0.1723, allocations: 31.92 kB / 0.5625 GB, free: 14.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.1725, allocations: 73.08 kB / 0.5625 GB, free: 14.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.1727, allocations: 87.34 kB / 0.5626 GB, free: 14.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.1727, allocations: 12.47 kB / 0.5626 GB, free: 14.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002991/0.173, allocations: 133.5 kB / 0.5628 GB, free: 13.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.173, allocations: 9.812 kB / 0.5628 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.173, allocations: 0 / 0.5628 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.173, allocations: 4 kB / 0.5628 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.1731, allocations: 23.92 kB / 0.5628 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.1732, allocations: 0 / 0.5628 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.711e-05/0.1732, allocations: 23.88 kB / 0.5628 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.1733, allocations: 8.062 kB / 0.5628 GB, free: 13.89 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001355/0.1734, allocations: 132 kB / 0.5629 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.1734, allocations: 19.89 kB / 0.563 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.155e-05/0.1735, allocations: 17 kB / 0.563 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1735, allocations: 4 kB / 0.563 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1735, allocations: 0 / 0.563 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1735, allocations: 3.984 kB / 0.563 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.1738, allocations: 229.5 kB / 0.5632 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1738, allocations: 0 / 0.5632 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.307e-05/0.1738, allocations: 11.94 kB / 0.5632 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1738, allocations: 4 kB / 0.5632 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.1738, allocations: 7.984 kB / 0.5632 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1738, allocations: 4 kB / 0.5632 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1738, allocations: 0 / 0.5632 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.1741, allocations: 165.7 kB / 0.5634 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.863e-05/0.1742, allocations: 92.95 kB / 0.5635 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.1743, allocations: 15.98 kB / 0.5635 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.127e-05/0.1743, allocations: 4 kB / 0.5635 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.1744, allocations: 7.984 kB / 0.5635 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.1744, allocations: 8 kB / 0.5635 GB, free: 13.08 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001972/0.1746, allocations: 173.6 kB / 0.5637 GB, free: 12.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1746, allocations: 0 / 0.5637 GB, free: 12.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003111/0.1749, allocations: 55.92 kB / 0.5637 GB, free: 12.86 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002381/0.1773, allocations: 1.118 MB / 0.5648 GB, free: 11.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002986/0.1776, allocations: 79.89 kB / 0.5649 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1776, allocations: 0 / 0.5649 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.1777, allocations: 35.92 kB / 0.5649 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.1781, allocations: 63.33 kB / 0.565 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.1807, allocations: 1.889 MB / 0.5668 GB, free: 9.734 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.1811, allocations: 0.7164 MB / 0.5675 GB, free: 8.992 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.1812, allocations: 30.03 kB / 0.5676 GB, free: 8.965 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.1813, allocations: 63.41 kB / 0.5676 GB, free: 8.902 MB / 430.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1813, allocations: 0 / 0.5676 GB, free: 8.902 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02846/0.2098, allocations: 5.328 MB / 0.5728 GB, free: 3.605 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.976/8.186, allocations: 15.94 kB / 0.5728 GB, free: 3.59 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.655849616989144]