Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.001322/0.001322, allocations: 123.4 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.001345/0.001345, allocations: 208.3 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.483/1.483, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.2568/0.2568, allocations: 46.93 MB / 357.1 MB, free: 10.31 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.Test39,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 71.91 kB / 0.491 GB, free: 7.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1533, allocations: 65.98 MB / 0.5554 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003589/0.1569, allocations: 1.695 MB / 0.5571 GB, free: 4.066 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.1587, allocations: 1.019 MB / 0.5581 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.468e-05/0.1588, allocations: 7.938 kB / 0.5581 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003355/0.1591, allocations: 59.73 kB / 0.5582 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000337/0.1594, allocations: 103.6 kB / 0.5583 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.1596, allocations: 83.59 kB / 0.5583 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.1598, allocations: 107.7 kB / 0.5584 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.484e-05/0.1599, allocations: 240 / 0.5584 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.16, allocations: 55.77 kB / 0.5585 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.1601, allocations: 47.77 kB / 0.5585 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.1601, allocations: 4 kB / 0.5585 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.275e-05/0.1602, allocations: 39.97 kB / 0.5586 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.788e-05/0.1603, allocations: 19.92 kB / 0.5586 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.98e-05/0.1603, allocations: 35.69 kB / 0.5586 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.1605, allocations: 99.58 kB / 0.5587 GB, free: 2.391 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1606, allocations: 0 / 0.5587 GB, free: 2.391 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1606, allocations: 4 kB / 0.5587 GB, free: 2.387 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1606, 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.0006382/0.1612, allocations: 410.7 kB / 0.5591 GB, free: 1.938 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.1612, allocations: 12.03 kB / 0.5591 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.857e-05/0.1613, allocations: 34.75 kB / 0.5592 GB, free: 1.883 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.1613, allocations: 12.84 kB / 0.5592 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.1617, allocations: 211.2 kB / 0.5594 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.1617, allocations: 384 / 0.5594 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.1617, allocations: 11.94 kB / 0.5594 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1618, allocations: 53.61 kB / 0.5594 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.036e-06/0.1619, allocations: 0 / 0.5594 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1619, allocations: 0 / 0.5594 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1619, allocations: 0 / 0.5594 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.303e-05/0.1619, allocations: 15.98 kB / 0.5595 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000236/0.1622, allocations: 189.6 kB / 0.5596 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.1624, allocations: 62.48 kB / 0.5597 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.633e-05/0.1624, allocations: 16.8 kB / 0.5597 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.365e-05/0.1625, allocations: 7.984 kB / 0.5597 GB, free: 1.211 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.1626, allocations: 63.39 kB / 0.5598 GB, free: 1.137 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.1626, allocations: 0 / 0.5598 GB, free: 1.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003181/0.163, allocations: 89.62 kB / 0.5599 GB, free: 1.043 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.163, allocations: 59.41 kB / 0.5599 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.1632, allocations: 198.3 kB / 0.5601 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.1632, allocations: 25.7 kB / 0.5601 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.706e-05/0.1633, allocations: 108.1 kB / 0.5602 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.1634, allocations: 7.906 kB / 0.5603 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.1634, allocations: 17.72 kB / 0.5603 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1635, allocations: 322.8 kB / 0.5606 GB, free: 280 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.431e-05/0.1636, allocations: 15.98 kB / 0.5606 GB, free: 264 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.338e-05/0.1637, allocations: 37.7 kB / 0.5606 GB, free: 220 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.1638, allocations: 41.97 kB / 0.5607 GB, free: 172 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1638, allocations: 7.875 kB / 0.5607 GB, free: 164 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001697/0.1639, allocations: 89.52 kB / 0.5608 GB, free: 68 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.164, allocations: 4 kB / 0.5608 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.164, allocations: 0 / 0.5608 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.164, allocations: 4.031 kB / 0.5608 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-05/0.164, allocations: 12 kB / 0.5608 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.1641, allocations: 0 / 0.5608 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.815e-05/0.1641, allocations: 7.938 kB / 0.5608 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.1641, allocations: 3.984 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.0001396/0.1642, allocations: 131.9 kB / 0.5609 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.1643, allocations: 11.95 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.078e-05/0.1643, allocations: 16.98 kB / 0.5609 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1643, allocations: 0 / 0.5609 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1643, allocations: 4 kB / 0.5609 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1643, allocations: 0 / 0.5609 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.1645, allocations: 189.5 kB / 0.5611 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.1645, allocations: 0 / 0.5611 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.529e-05/0.1645, allocations: 7.984 kB / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.1645, allocations: 0 / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.1646, allocations: 0 / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1646, allocations: 7.938 kB / 0.5611 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1646, allocations: 0 / 0.5611 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.1648, allocations: 112.9 kB / 0.5613 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.397e-05/0.1648, allocations: 85.06 kB / 0.5613 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.1649, allocations: 8.125 kB / 0.5613 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.367e-05/0.1649, allocations: 0 / 0.5613 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.1649, allocations: 7.984 kB / 0.5613 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.1649, allocations: 0 / 0.5613 GB, free: 15.37 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001451/0.1651, allocations: 148.2 kB / 0.5615 GB, free: 15.22 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1651, allocations: 0 / 0.5615 GB, free: 15.22 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002169/0.1653, allocations: 20 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.002101/0.1674, allocations: 0.9494 MB / 0.5624 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.1676, allocations: 43.92 kB / 0.5625 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.1676, allocations: 0 / 0.5625 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.409e-05/0.1677, allocations: 20.05 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.0002958/0.168, allocations: 31.97 kB / 0.5625 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.1697, allocations: 1.505 MB / 0.564 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.1701, allocations: 0.7041 MB / 0.5647 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.423e-05/0.1702, allocations: 12.56 kB / 0.5647 GB, free: 11.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.755e-05/0.1702, allocations: 31.42 kB / 0.5647 GB, free: 11.92 MB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1702, allocations: 0 / 0.5647 GB, free: 11.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/0.1944, allocations: 3.176 MB / 0.5678 GB, free: 8.805 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.702/7.896, allocations: 8.062 kB / 0.5678 GB, free: 8.797 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197433 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.145470268005738]