Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.001796/0.001796, 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.002287/0.002287, 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.497/1.497, 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.2321/0.2321, 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.Test67,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 79.88 kB / 0.491 GB, free: 7.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1353, allocations: 65.98 MB / 0.5554 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.005028/0.1403, allocations: 2.374 MB / 0.5578 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002945/0.1432, allocations: 1.406 MB / 0.5591 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003489/0.1436, allocations: 15.81 kB / 0.5591 GB, free: 1.973 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007339/0.1443, allocations: 291 kB / 0.5594 GB, free: 1.688 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009514/0.1453, allocations: 338.6 kB / 0.5597 GB, free: 1.355 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006309/0.1459, allocations: 215.5 kB / 0.56 GB, free: 1.145 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009531/0.1468, allocations: 0.5608 MB / 0.5605 GB, free: 0.582 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.147, allocations: 37.08 kB / 0.5605 GB, free: 0.543 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005044/0.1475, allocations: 247 kB / 0.5608 GB, free: 308 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004774/0.148, allocations: 302.8 kB / 0.5611 GB, free: 4 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.76e-05/0.1481, allocations: 20.05 kB / 0.5611 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.1483, allocations: 59.88 kB / 0.5611 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.1484, allocations: 111.5 kB / 0.5612 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.1486, allocations: 182.6 kB / 0.5614 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006452/0.1493, allocations: 429.8 kB / 0.5618 GB, free: 15.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1493, allocations: 0 / 0.5618 GB, free: 15.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1493, allocations: 4 kB / 0.5618 GB, free: 15.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.1493, allocations: 4 kB / 0.5618 GB, free: 15.21 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001355/0.1507, allocations: 0.813 MB / 0.5626 GB, free: 14.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.1507, allocations: 12.02 kB / 0.5626 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.482e-05/0.1508, allocations: 42.73 kB / 0.5627 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.1509, allocations: 60.56 kB / 0.5627 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006976/0.1516, allocations: 432.2 kB / 0.5631 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.1516, allocations: 16.36 kB / 0.5632 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/0.1517, allocations: 15.94 kB / 0.5632 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/0.1521, allocations: 205.8 kB / 0.5634 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.1521, allocations: 0 / 0.5634 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.1521, allocations: 8 kB / 0.5634 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.1521, allocations: 4 kB / 0.5634 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002764/0.1524, allocations: 99.86 kB / 0.5635 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.1535, allocations: 0.8683 MB / 0.5643 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006775/0.1541, allocations: 277.2 kB / 0.5646 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.1543, allocations: 88.25 kB / 0.5647 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.994e-05/0.1544, allocations: 19.92 kB / 0.5647 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004652/0.1549, allocations: 223.5 kB / 0.5649 GB, free: 11.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 1.613e-06/0.1549, allocations: 0 / 0.5649 GB, free: 11.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.002223/0.1571, allocations: 1.038 MB / 0.5659 GB, free: 10.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.1572, allocations: 158.2 kB / 0.5661 GB, free: 10.53 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008256/0.158, allocations: 0.6591 MB / 0.5667 GB, free: 9.859 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/0.1581, allocations: 41.7 kB / 0.5668 GB, free: 9.812 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.1583, allocations: 237 kB / 0.567 GB, free: 9.578 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.1584, allocations: 130.9 kB / 0.5671 GB, free: 9.449 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.1585, allocations: 74.12 kB / 0.5672 GB, free: 9.371 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002343/0.1588, allocations: 374.8 kB / 0.5675 GB, free: 8.996 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.159, allocations: 96.83 kB / 0.5676 GB, free: 8.902 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.1593, allocations: 184.9 kB / 0.5678 GB, free: 8.691 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005649/0.1599, allocations: 296.8 kB / 0.5681 GB, free: 8.371 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1599, allocations: 0 / 0.5681 GB, free: 8.371 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008371/0.1608, allocations: 421 kB / 0.5685 GB, free: 7.953 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1608, allocations: 5.875 kB / 0.5685 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.1608, allocations: 4 kB / 0.5685 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.1608, allocations: 4 kB / 0.5685 GB, free: 7.941 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/0.1611, allocations: 80.27 kB / 0.5686 GB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.1611, allocations: 4 kB / 0.5686 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.1613, allocations: 19.98 kB / 0.5686 GB, free: 7.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.1614, allocations: 24 kB / 0.5686 GB, free: 7.816 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002488/0.1616, allocations: 214.5 kB / 0.5688 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.1617, allocations: 63.58 kB / 0.5689 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/0.1618, allocations: 68.41 kB / 0.569 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.1619, allocations: 4 kB / 0.569 GB, free: 7.465 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.1619, allocations: 0 / 0.569 GB, free: 7.465 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.1619, allocations: 7.984 kB / 0.569 GB, free: 7.457 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.1637, allocations: 1.285 MB / 0.5702 GB, free: 6.098 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1637, allocations: 3.938 kB / 0.5702 GB, free: 6.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.1638, allocations: 47.92 kB / 0.5703 GB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.1638, allocations: 4 kB / 0.5703 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.1639, allocations: 28.08 kB / 0.5703 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.1639, allocations: 4.078 kB / 0.5703 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1639, allocations: 3.984 kB / 0.5703 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.1649, allocations: 0.8166 MB / 0.5711 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.165, allocations: 128.7 kB / 0.5712 GB, free: 5.012 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.199e-05/0.1651, allocations: 19.94 kB / 0.5713 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/0.1654, allocations: 15.98 kB / 0.5713 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.351e-05/0.1655, allocations: 39.89 kB / 0.5713 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-05/0.1656, allocations: 23.98 kB / 0.5713 GB, free: 4.914 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005979/0.1662, allocations: 490.8 kB / 0.5718 GB, free: 4.438 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1662, allocations: 0 / 0.5718 GB, free: 4.438 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005704/0.1667, allocations: 79.94 kB / 0.5719 GB, free: 4.359 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.00319/0.1699, allocations: 1.749 MB / 0.5736 GB, free: 2.758 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006687/0.1706, allocations: 268.3 kB / 0.5738 GB, free: 2.496 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1706, allocations: 0 / 0.5738 GB, free: 2.496 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003262/0.1709, allocations: 140.5 kB / 0.574 GB, free: 2.359 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.172, allocations: 145.8 kB / 0.5741 GB, free: 2.227 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006223/0.1782, allocations: 4.541 MB / 0.5785 GB, free: 13.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005798/0.1788, allocations: 0.859 MB / 0.5794 GB, free: 12.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000229/0.179, allocations: 84.12 kB / 0.5795 GB, free: 12.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002886/0.1793, allocations: 183.4 kB / 0.5796 GB, free: 12.34 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1793, allocations: 0 / 0.5796 GB, free: 12.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03818/0.2175, allocations: 10.96 MB / 0.5903 GB, free: 1.461 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.971/9.189, allocations: 18.47 kB / 0.5904 GB, free: 1.445 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --stepSize=0.799361 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.576218256028369]