Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.00177/0.00177, 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.002154/0.002154, 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.627/1.627, 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.2571/0.2571, allocations: 46.91 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.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 67.91 kB / 0.491 GB, free: 7.922 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1539, allocations: 65.99 MB / 0.5554 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003505/0.1574, allocations: 1.943 MB / 0.5573 GB, free: 3.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.1593, allocations: 1.068 MB / 0.5584 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.1594, allocations: 4 kB / 0.5584 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003442/0.1597, allocations: 47.69 kB / 0.5584 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003467/0.1601, allocations: 103.5 kB / 0.5585 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.1603, allocations: 99.62 kB / 0.5586 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.1606, allocations: 143.5 kB / 0.5588 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.1608, allocations: 21.55 kB / 0.5588 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.1609, allocations: 63.7 kB / 0.5588 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.161, allocations: 47.66 kB / 0.5589 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.161, allocations: 8 kB / 0.5589 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.1611, allocations: 51.97 kB / 0.5589 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.957e-05/0.1612, allocations: 31.86 kB / 0.559 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.608e-05/0.1613, allocations: 43.67 kB / 0.559 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.1616, allocations: 163.2 kB / 0.5592 GB, free: 1.949 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.1616, allocations: 4 kB / 0.5592 GB, free: 1.945 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1616, allocations: 0 / 0.5592 GB, free: 1.945 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1616, allocations: 0 / 0.5592 GB, free: 1.945 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008531/0.1625, allocations: 484.1 kB / 0.5596 GB, free: 1.418 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.1626, allocations: 12.03 kB / 0.5596 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.884e-05/0.1626, allocations: 38.73 kB / 0.5597 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.352e-05/0.1627, allocations: 16.84 kB / 0.5597 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/0.1631, allocations: 244.8 kB / 0.5599 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.1631, allocations: 8.375 kB / 0.5599 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.1631, allocations: 7.938 kB / 0.5599 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.1634, allocations: 104.2 kB / 0.56 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1634, allocations: 0 / 0.56 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.1634, allocations: 8 kB / 0.5601 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1634, allocations: 4 kB / 0.5601 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.1636, allocations: 51.91 kB / 0.5601 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006718/0.1642, allocations: 0.4971 MB / 0.5606 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003522/0.1646, allocations: 82.67 kB / 0.5607 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1647, allocations: 36.83 kB / 0.5607 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.1647, allocations: 4 kB / 0.5607 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002021/0.1649, allocations: 83.31 kB / 0.5608 GB, free: 88 kB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.1649, allocations: 4 kB / 0.5608 GB, free: 84 kB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004428/0.1654, allocations: 153.4 kB / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.1654, allocations: 51.41 kB / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.1656, allocations: 202.2 kB / 0.5612 GB, free: 15.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.1656, allocations: 25.7 kB / 0.5612 GB, free: 15.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.901e-05/0.1657, allocations: 124 kB / 0.5613 GB, free: 15.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.1658, allocations: 27.75 kB / 0.5614 GB, free: 15.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.1658, allocations: 33.7 kB / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.166, allocations: 326.8 kB / 0.5617 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.782e-05/0.1661, allocations: 23.98 kB / 0.5617 GB, free: 15.08 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.1662, allocations: 76.33 kB / 0.5618 GB, free: 14.99 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.1664, allocations: 100.2 kB / 0.5619 GB, free: 14.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1664, allocations: 0 / 0.5619 GB, free: 14.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002815/0.1667, allocations: 137.4 kB / 0.562 GB, free: 14.74 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1667, allocations: 5.844 kB / 0.562 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.1667, allocations: 8 kB / 0.562 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.1667, allocations: 3.938 kB / 0.562 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.1668, allocations: 27.97 kB / 0.5621 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.1668, allocations: 3.938 kB / 0.5621 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.142e-05/0.1669, allocations: 20.42 kB / 0.5621 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.1669, allocations: 4 kB / 0.5621 GB, free: 14.67 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001309/0.167, allocations: 132 kB / 0.5622 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.1671, allocations: 15.91 kB / 0.5622 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.081e-05/0.1671, allocations: 17.41 kB / 0.5622 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1671, allocations: 7.875 kB / 0.5623 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.1671, allocations: 3.984 kB / 0.5623 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1671, allocations: 3.938 kB / 0.5623 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.1674, allocations: 209.6 kB / 0.5625 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1674, allocations: 0 / 0.5625 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.493e-05/0.1674, allocations: 11.94 kB / 0.5625 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1674, allocations: 3.984 kB / 0.5625 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.1674, allocations: 8 kB / 0.5625 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1675, allocations: 3.938 kB / 0.5625 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1675, allocations: 4 kB / 0.5625 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003987/0.1679, allocations: 176.9 kB / 0.5627 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.726e-05/0.1679, allocations: 89.05 kB / 0.5627 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.1679, allocations: 3.984 kB / 0.5628 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.197e-05/0.168, allocations: 7.938 kB / 0.5628 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.1681, allocations: 11.98 kB / 0.5628 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.1681, allocations: 8.062 kB / 0.5628 GB, free: 13.87 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.1682, allocations: 144.4 kB / 0.5629 GB, free: 13.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1682, allocations: 0 / 0.5629 GB, free: 13.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.1685, allocations: 27.94 kB / 0.5629 GB, free: 13.7 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.002078/0.1705, allocations: 1.023 MB / 0.5639 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002591/0.1708, allocations: 75.78 kB / 0.564 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1708, allocations: 0 / 0.564 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.1709, allocations: 35.97 kB / 0.564 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.1712, allocations: 51.03 kB / 0.5641 GB, free: 12.65 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.1734, allocations: 1.767 MB / 0.5658 GB, free: 10.78 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.1738, allocations: 0.7123 MB / 0.5665 GB, free: 10.04 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.584e-05/0.1739, allocations: 13.42 kB / 0.5665 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.054e-05/0.1739, allocations: 43.42 kB / 0.5666 GB, free: 9.984 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1739, allocations: 4 kB / 0.5666 GB, free: 9.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.2015, allocations: 3.854 MB / 0.5703 GB, free: 6.191 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/8.023, allocations: 2.969 kB / 0.5703 GB, free: 6.191 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.48860104700725]