Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.001868/0.001868, allocations: 124.5 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.002198/0.002198, allocations: 207.2 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.588/1.588, 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.2821/0.2821, allocations: 46.93 MB / 357.1 MB, free: 10.28 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.Test11,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 59.91 kB / 0.491 GB, free: 7.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1552, allocations: 66 MB / 0.5554 GB, free: 5.723 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003493/0.1587, allocations: 1.933 MB / 0.5573 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.1606, allocations: 1.066 MB / 0.5584 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.1607, allocations: 7.938 kB / 0.5584 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003325/0.161, allocations: 47.66 kB / 0.5584 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003429/0.1614, allocations: 99.53 kB / 0.5585 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.1616, allocations: 99.64 kB / 0.5586 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002726/0.1619, allocations: 143.5 kB / 0.5588 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.162, allocations: 21.55 kB / 0.5588 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.1622, allocations: 67.64 kB / 0.5588 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.1623, allocations: 47.72 kB / 0.5589 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.1623, allocations: 8 kB / 0.5589 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.1624, allocations: 51.97 kB / 0.5589 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.111e-05/0.1625, allocations: 31.86 kB / 0.559 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.745e-05/0.1626, allocations: 43.67 kB / 0.559 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002973/0.1629, allocations: 163.2 kB / 0.5592 GB, free: 1.883 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1629, allocations: 0 / 0.5592 GB, free: 1.883 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1629, allocations: 0 / 0.5592 GB, free: 1.883 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1629, allocations: 0 / 0.5592 GB, free: 1.883 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.0007672/0.1636, allocations: 484.1 kB / 0.5596 GB, free: 1.355 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1637, allocations: 12.03 kB / 0.5596 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.155e-05/0.1637, allocations: 38.75 kB / 0.5597 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.485e-05/0.1638, allocations: 24.83 kB / 0.5597 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.1642, allocations: 240.8 kB / 0.5599 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.1642, allocations: 8.375 kB / 0.5599 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.1642, allocations: 7.938 kB / 0.5599 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.1645, allocations: 108.2 kB / 0.5601 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.1645, allocations: 11.92 kB / 0.5601 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.1645, allocations: 4 kB / 0.5601 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.1645, allocations: 0 / 0.5601 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.1647, allocations: 47.97 kB / 0.5601 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009464/0.1656, allocations: 0.4971 MB / 0.5606 GB, free: 248 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004323/0.1661, allocations: 90.64 kB / 0.5607 GB, free: 148 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.1662, allocations: 32.84 kB / 0.5607 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.1662, allocations: 11.92 kB / 0.5607 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003016/0.1665, allocations: 79.38 kB / 0.5608 GB, free: 8 kB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 2.074e-06/0.1665, allocations: 0 / 0.5608 GB, free: 8 kB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005585/0.1671, allocations: 153.4 kB / 0.5609 GB, free: 15.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.417e-05/0.1672, allocations: 51.41 kB / 0.561 GB, free: 15.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.1674, allocations: 198.3 kB / 0.5612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.1675, allocations: 25.7 kB / 0.5612 GB, free: 15.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.1676, allocations: 124 kB / 0.5613 GB, free: 15.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.1676, allocations: 31.75 kB / 0.5614 GB, free: 15.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.52e-05/0.1677, allocations: 29.7 kB / 0.5614 GB, free: 15.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.1679, allocations: 326.8 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.575e-05/0.168, allocations: 27.98 kB / 0.5617 GB, free: 15.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.1681, allocations: 72.33 kB / 0.5618 GB, free: 14.92 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.1683, allocations: 104.2 kB / 0.5619 GB, free: 14.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.1683, allocations: 0 / 0.5619 GB, free: 14.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003149/0.1686, allocations: 133.5 kB / 0.562 GB, free: 14.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.1687, allocations: 4 kB / 0.562 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.1687, allocations: 7.984 kB / 0.562 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.1687, allocations: 3.938 kB / 0.562 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.1688, allocations: 23.94 kB / 0.5621 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/0.1688, allocations: 7.969 kB / 0.5621 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.712e-05/0.1689, allocations: 15.95 kB / 0.5621 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.1689, allocations: 4 kB / 0.5621 GB, free: 14.6 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.0001528/0.1691, allocations: 132.5 kB / 0.5622 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.1691, allocations: 19.89 kB / 0.5622 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.865e-05/0.1692, allocations: 17.41 kB / 0.5622 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.1692, allocations: 3.938 kB / 0.5623 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.1692, allocations: 0 / 0.5623 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1692, allocations: 7.875 kB / 0.5623 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.1695, allocations: 217.6 kB / 0.5625 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1695, allocations: 0 / 0.5625 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.634e-05/0.1695, allocations: 11.94 kB / 0.5625 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.1695, allocations: 4 kB / 0.5625 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.1696, allocations: 4 kB / 0.5625 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.1696, allocations: 7.938 kB / 0.5625 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.1696, allocations: 3.984 kB / 0.5625 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004597/0.17, allocations: 176.9 kB / 0.5627 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.668e-05/0.1701, allocations: 89.05 kB / 0.5628 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.1701, allocations: 4 kB / 0.5628 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.603e-05/0.1702, allocations: 11.92 kB / 0.5628 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.1703, allocations: 8.062 kB / 0.5628 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.1703, allocations: 7.984 kB / 0.5628 GB, free: 13.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001572/0.1704, allocations: 144.4 kB / 0.5629 GB, free: 13.65 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1704, allocations: 0 / 0.5629 GB, free: 13.65 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.1707, allocations: 27.94 kB / 0.5629 GB, free: 13.62 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.002159/0.1728, allocations: 1.024 MB / 0.5639 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002677/0.1731, allocations: 79.78 kB / 0.564 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1731, allocations: 0 / 0.564 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.1732, allocations: 31.92 kB / 0.5641 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.1735, allocations: 44.22 kB / 0.5641 GB, free: 12.58 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.1758, allocations: 1.767 MB / 0.5658 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.1761, allocations: 0.7123 MB / 0.5665 GB, free: 9.969 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.734e-05/0.1762, allocations: 17.42 kB / 0.5665 GB, free: 9.953 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.288e-05/0.1763, allocations: 43.42 kB / 0.5666 GB, free: 9.91 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1763, allocations: 0 / 0.5666 GB, free: 9.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/0.2051, allocations: 3.857 MB / 0.5703 GB, free: 6.117 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/7.99, allocations: 3.281 kB / 0.5703 GB, free: 6.117 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11_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_Test11.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.476845541998046]