Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001742/0.001742, 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.002215/0.002215, 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.541/1.541, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2339/0.2339, allocations: 46.92 MB / 357.1 MB, free: 10.36 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.Test68,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 63.91 kB / 0.491 GB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1474, allocations: 65.98 MB / 0.5554 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003916/0.1514, allocations: 1.832 MB / 0.5572 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.1535, allocations: 1.109 MB / 0.5583 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.1536, allocations: 3.938 kB / 0.5583 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006061/0.1542, allocations: 295.3 kB / 0.5586 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005211/0.1547, allocations: 251.2 kB / 0.5588 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.155, allocations: 107.6 kB / 0.5589 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003971/0.1554, allocations: 263.2 kB / 0.5592 GB, free: 1.973 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.184e-05/0.1554, allocations: 21.69 kB / 0.5592 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.1556, allocations: 135.5 kB / 0.5593 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000298/0.1559, allocations: 212 kB / 0.5595 GB, free: 1.609 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.156, allocations: 4 kB / 0.5595 GB, free: 1.605 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.1561, allocations: 47.97 kB / 0.5596 GB, free: 1.559 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.1563, allocations: 136.5 kB / 0.5597 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.1564, allocations: 146.8 kB / 0.5599 GB, free: 1.281 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004862/0.1569, allocations: 366.2 kB / 0.5602 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1569, allocations: 4 kB / 0.5602 GB, free: 0.918 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1569, allocations: 0 / 0.5602 GB, free: 0.918 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.1569, allocations: 0 / 0.5602 GB, free: 0.918 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.001136/0.1581, allocations: 0.7617 MB / 0.5609 GB, free: 108 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.1581, allocations: 8.031 kB / 0.561 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.807e-05/0.1582, allocations: 34.73 kB / 0.561 GB, free: 56 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.551e-05/0.1582, allocations: 52.61 kB / 0.561 GB, free: 4 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006558/0.1589, allocations: 456.3 kB / 0.5615 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.1589, allocations: 8.375 kB / 0.5615 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.1589, allocations: 3.938 kB / 0.5615 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.1592, allocations: 91.3 kB / 0.5616 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1592, allocations: 4 kB / 0.5616 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1592, allocations: 0 / 0.5616 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1592, allocations: 0 / 0.5616 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.1593, allocations: 27.98 kB / 0.5616 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/0.1598, allocations: 374.4 kB / 0.562 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.16, allocations: 109.1 kB / 0.5621 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.596e-05/0.1601, allocations: 41.62 kB / 0.5621 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.1602, allocations: 4 kB / 0.5621 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002486/0.1604, allocations: 105 kB / 0.5622 GB, free: 14.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 9.81e-07/0.1604, allocations: 0 / 0.5622 GB, free: 14.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005352/0.1609, allocations: 201.2 kB / 0.5624 GB, free: 14.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/0.161, allocations: 85.09 kB / 0.5625 GB, free: 14.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.1622, allocations: 1.022 MB / 0.5635 GB, free: 13.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.1623, allocations: 29.7 kB / 0.5635 GB, free: 13.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.1625, allocations: 236.1 kB / 0.5637 GB, free: 13.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.621e-05/0.1625, allocations: 31.77 kB / 0.5638 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.1626, allocations: 25.72 kB / 0.5638 GB, free: 12.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002939/0.1629, allocations: 378.7 kB / 0.5642 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.024e-05/0.163, allocations: 27.98 kB / 0.5642 GB, free: 12.58 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.1631, allocations: 51.42 kB / 0.5642 GB, free: 12.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.1633, allocations: 91.34 kB / 0.5643 GB, free: 12.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.1633, allocations: 3.938 kB / 0.5643 GB, free: 12.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003285/0.1636, allocations: 181.7 kB / 0.5645 GB, free: 12.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.1636, allocations: 9.938 kB / 0.5645 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.1636, allocations: 0 / 0.5645 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.1636, allocations: 4 kB / 0.5645 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.1638, allocations: 19.98 kB / 0.5645 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.1638, allocations: 4 kB / 0.5645 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.727e-05/0.1639, allocations: 15.88 kB / 0.5645 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.1639, allocations: 4 kB / 0.5645 GB, free: 12.17 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002644/0.1642, allocations: 223.8 kB / 0.5648 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.018e-05/0.1642, allocations: 51.67 kB / 0.5648 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.822e-05/0.1643, allocations: 60.09 kB / 0.5649 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1643, allocations: 4 kB / 0.5649 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.1643, allocations: 3.984 kB / 0.5649 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1643, allocations: 0 / 0.5649 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/0.1647, allocations: 341.4 kB / 0.5652 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1647, allocations: 0 / 0.5652 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.754e-05/0.1647, allocations: 12 kB / 0.5652 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1647, allocations: 0 / 0.5652 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1647, allocations: 0 / 0.5652 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1647, allocations: 4 kB / 0.5652 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1647, allocations: 3.938 kB / 0.5652 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.1651, allocations: 213.4 kB / 0.5654 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.1652, allocations: 136.8 kB / 0.5656 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/0.1653, allocations: 4 kB / 0.5656 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.481e-05/0.1654, allocations: 4 kB / 0.5656 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.1654, allocations: 11.92 kB / 0.5656 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.1654, allocations: 8 kB / 0.5656 GB, free: 11.01 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008179/0.1662, allocations: 0.7682 MB / 0.5663 GB, free: 10.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1662, allocations: 4 kB / 0.5663 GB, free: 10.24 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1665, allocations: 43.94 kB / 0.5664 GB, free: 10.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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.00211/0.1686, allocations: 1.053 MB / 0.5674 GB, free: 9.273 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002643/0.1689, allocations: 71.91 kB / 0.5675 GB, free: 9.203 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1689, allocations: 4 kB / 0.5675 GB, free: 9.199 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.169, allocations: 35.92 kB / 0.5675 GB, free: 9.164 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.1694, allocations: 75.58 kB / 0.5676 GB, free: 9.098 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005648/0.1751, allocations: 4.488 MB / 0.572 GB, free: 4.504 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005173/0.1756, allocations: 0.8388 MB / 0.5728 GB, free: 3.637 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.1757, allocations: 62.94 kB / 0.5728 GB, free: 3.574 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.1759, allocations: 147.4 kB / 0.573 GB, free: 3.434 MB / 430.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1759, allocations: 0 / 0.573 GB, free: 3.434 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0349/0.2108, allocations: 8.977 MB / 0.5818 GB, free: 10.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.435/8.646, allocations: 3.938 kB / 0.5818 GB, free: 10.52 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56403 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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: 12.257558400990092]