Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.001339/0.001339, allocations: 123 kB / 17.79 MB, free: 5.246 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.001431/0.001431, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.491/1.491, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2384/0.2384, allocations: 46.92 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.Test42,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 71.89 kB / 0.491 GB, free: 7.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1511, allocations: 65.99 MB / 0.5555 GB, free: 5.742 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003783/0.1548, allocations: 1.735 MB / 0.5572 GB, free: 3.992 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.1566, allocations: 1.03 MB / 0.5582 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.619e-05/0.1566, allocations: 0 / 0.5582 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000328/0.157, allocations: 47.75 kB / 0.5582 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000329/0.1573, allocations: 99.53 kB / 0.5583 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.1575, allocations: 79.67 kB / 0.5584 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.1577, allocations: 99.69 kB / 0.5585 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1578, allocations: 15.98 kB / 0.5585 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.857e-05/0.1579, allocations: 47.73 kB / 0.5585 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.332e-05/0.158, allocations: 39.77 kB / 0.5586 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.158, allocations: 4 kB / 0.5586 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.1581, allocations: 43.98 kB / 0.5586 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.184e-05/0.1582, allocations: 23.86 kB / 0.5586 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.469e-05/0.1582, allocations: 31.75 kB / 0.5587 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.1585, allocations: 119.5 kB / 0.5588 GB, free: 2.316 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.1585, allocations: 3.984 kB / 0.5588 GB, free: 2.312 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1585, allocations: 0 / 0.5588 GB, free: 2.312 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1585, allocations: 0 / 0.5588 GB, free: 2.312 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006247/0.1591, allocations: 442.5 kB / 0.5592 GB, free: 1.832 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1592, allocations: 8.031 kB / 0.5592 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.48e-05/0.1592, allocations: 34.75 kB / 0.5592 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.1592, allocations: 8.891 kB / 0.5593 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.1595, allocations: 216.1 kB / 0.5595 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.1596, allocations: 4.375 kB / 0.5595 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.1596, allocations: 3.938 kB / 0.5595 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.1597, allocations: 57.67 kB / 0.5595 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1597, allocations: 0 / 0.5595 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.1598, allocations: 7.984 kB / 0.5595 GB, free: 1.445 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1598, allocations: 0 / 0.5595 GB, free: 1.445 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.177e-05/0.1598, allocations: 23.92 kB / 0.5596 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.1602, allocations: 292.8 kB / 0.5598 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.1604, allocations: 54.67 kB / 0.5599 GB, free: 1.023 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.225e-05/0.1605, allocations: 20.84 kB / 0.5599 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.1605, allocations: 4 kB / 0.5599 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.1607, allocations: 67.33 kB / 0.56 GB, free: 0.918 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.1607, allocations: 0 / 0.56 GB, free: 0.918 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000567/0.1612, allocations: 185.3 kB / 0.5602 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.1613, allocations: 55.41 kB / 0.5602 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.1615, allocations: 210 kB / 0.5604 GB, free: 460 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.1615, allocations: 29.7 kB / 0.5604 GB, free: 424 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.972e-05/0.1616, allocations: 104.1 kB / 0.5605 GB, free: 316 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.1616, allocations: 23.84 kB / 0.5606 GB, free: 292 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.1616, allocations: 21.72 kB / 0.5606 GB, free: 264 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1618, allocations: 326.8 kB / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.036e-05/0.1619, allocations: 15.98 kB / 0.5609 GB, free: 15.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.269e-05/0.1619, allocations: 46.02 kB / 0.5609 GB, free: 15.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.1621, allocations: 57.66 kB / 0.561 GB, free: 15.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1621, allocations: 0 / 0.561 GB, free: 15.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002001/0.1623, allocations: 109.6 kB / 0.5611 GB, free: 15.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1623, allocations: 7.938 kB / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1623, allocations: 3.938 kB / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.1623, allocations: 8.031 kB / 0.5611 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.197e-05/0.1624, allocations: 19.98 kB / 0.5611 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1624, allocations: 0 / 0.5611 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.1624, allocations: 7.938 kB / 0.5612 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.1624, allocations: 0 / 0.5612 GB, free: 15.64 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 (10): * Single equations (assignments): 10 * 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.0001141/0.1626, allocations: 132 kB / 0.5613 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.1626, allocations: 11.91 kB / 0.5613 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.853e-05/0.1626, allocations: 17.41 kB / 0.5613 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1626, allocations: 0 / 0.5613 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.1626, allocations: 4 kB / 0.5613 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.1627, allocations: 7.922 kB / 0.5613 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004799/0.1631, allocations: 395.5 kB / 0.5617 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1631, allocations: 0 / 0.5617 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.163e-05/0.1632, allocations: 11.94 kB / 0.5617 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.385e-05/0.1632, allocations: 7.938 kB / 0.5617 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.1632, allocations: 3.984 kB / 0.5617 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1632, allocations: 0 / 0.5617 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1632, allocations: 0 / 0.5617 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.1634, allocations: 208.3 kB / 0.5619 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.1635, allocations: 81.06 kB / 0.562 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.1635, allocations: 11.94 kB / 0.562 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.069e-05/0.1636, allocations: 3.984 kB / 0.562 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.1636, allocations: 4 kB / 0.562 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.1637, allocations: 4 kB / 0.562 GB, free: 14.64 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001596/0.1638, allocations: 172.2 kB / 0.5622 GB, free: 14.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1638, allocations: 0 / 0.5622 GB, free: 14.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.1641, allocations: 23.92 kB / 0.5622 GB, free: 14.45 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.002198/0.1663, allocations: 1.099 MB / 0.5633 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.1665, allocations: 59.89 kB / 0.5633 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1665, allocations: 0 / 0.5633 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.064e-05/0.1666, allocations: 31.98 kB / 0.5634 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.1669, allocations: 31.98 kB / 0.5634 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.1689, allocations: 1.69 MB / 0.565 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.1693, allocations: 0.7119 MB / 0.5657 GB, free: 10.87 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.873e-05/0.1693, allocations: 20.47 kB / 0.5658 GB, free: 10.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.301e-05/0.1694, allocations: 35.42 kB / 0.5658 GB, free: 10.82 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1694, allocations: 0 / 0.5658 GB, free: 10.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.198, allocations: 3.535 MB / 0.5692 GB, free: 7.348 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.972/8.17, allocations: 11.88 kB / 0.5693 GB, free: 7.336 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498604 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.431789107999066]