Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008291/0.0008291, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008701/0.0008701, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8937/0.8937, allocations: 177 MB / 204.1 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2458/0.2458, allocations: 34.24 MB / 294.8 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 3.938 kB / 442.2 MB, free: 1.48 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.107e-05, allocations: 5.094 kB / 442.2 MB, free: 1.477 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.1647/0.1647, allocations: 1.777 MB / 444 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1658, allocations: 1.05 MB / 445.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.922e-05/0.1659, allocations: 8.5 kB / 445.1 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003709/0.1662, allocations: 302.1 kB / 445.4 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.1666, allocations: 255.2 kB / 445.6 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.1667, allocations: 111.9 kB / 445.7 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.1669, allocations: 264.4 kB / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.829e-05/0.167, allocations: 11.36 kB / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.1671, allocations: 149.9 kB / 446.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.1672, allocations: 197.9 kB / 446.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.1672, allocations: 12.72 kB / 446.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.234e-05/0.1673, allocations: 51.81 kB / 446.4 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.251e-05/0.1674, allocations: 137.8 kB / 446.5 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.406e-05/0.1675, allocations: 71.78 kB / 446.6 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.1677, allocations: 344.9 kB / 446.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1677, allocations: 3.125 kB / 446.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1677, allocations: 0 / 446.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1677, allocations: 2.906 kB / 447 MB, free: 42.62 MB / 410.7 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.0005294/0.1682, allocations: 0.6749 MB / 447.6 MB, free: 42.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.1683, allocations: 10.78 kB / 447.6 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.302e-05/0.1683, allocations: 33.47 kB / 447.7 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.1683, allocations: 57.23 kB / 447.7 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.1687, allocations: 383.4 kB / 448.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1687, allocations: 3.688 kB / 448.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.1687, allocations: 9.797 kB / 448.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.1688, allocations: 86.22 kB / 448.2 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.1688, allocations: 192 / 448.2 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1688, allocations: 11.03 kB / 448.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1688, allocations: 3.188 kB / 448.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.42e-05/0.1689, allocations: 36.08 kB / 448.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.1691, allocations: 319.2 kB / 448.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.1692, allocations: 108.7 kB / 448.7 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.038e-05/0.1693, allocations: 41.12 kB / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.1693, allocations: 0.5938 kB / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.1694, allocations: 108 kB / 448.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 7.81e-07/0.1695, allocations: 0 / 448.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002813/0.1697, allocations: 220.5 kB / 449 MB, free: 41.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.1698, allocations: 81.05 kB / 449.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005847/0.1703, allocations: 1.034 MB / 450.1 MB, free: 40.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.1703, allocations: 25.7 kB / 450.2 MB, free: 40.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.1704, allocations: 239.8 kB / 450.4 MB, free: 40.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.1705, allocations: 29.95 kB / 450.4 MB, free: 40.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.1705, allocations: 28.97 kB / 450.5 MB, free: 40.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.089e-05/0.1705, allocations: 364.7 kB / 450.8 MB, free: 40.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.004e-05/0.1706, allocations: 32.02 kB / 450.8 MB, free: 40.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.886e-05/0.1706, allocations: 62.19 kB / 450.9 MB, free: 40.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.659e-05/0.1707, allocations: 94.02 kB / 451 MB, free: 40.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1707, allocations: 0 / 451 MB, free: 40.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001569/0.1709, allocations: 178.8 kB / 451.2 MB, free: 40.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1709, allocations: 5.719 kB / 451.2 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.1709, allocations: 3.938 kB / 451.2 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1709, allocations: 2.969 kB / 451.2 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.909e-05/0.171, allocations: 32.27 kB / 451.2 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.171, allocations: 0.5625 kB / 451.2 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.68e-05/0.1711, allocations: 9.141 kB / 451.2 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.1711, allocations: 9.719 kB / 451.2 MB, free: 40 MB / 410.7 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.0001084/0.1712, allocations: 218.7 kB / 451.4 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.1712, allocations: 54.5 kB / 451.5 MB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.1714, allocations: 204.2 kB / 451.7 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1714, allocations: 7.031 kB / 451.7 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.1714, allocations: 4 kB / 451.7 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1714, allocations: 3.891 kB / 451.7 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.1716, allocations: 293.9 kB / 452 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1716, allocations: 0 / 452 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.386e-05/0.1716, allocations: 15.66 kB / 452 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1716, allocations: 3 kB / 452 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.1716, allocations: 3.938 kB / 452 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1716, allocations: 2.906 kB / 452 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1716, allocations: 1.594 kB / 452 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.1718, allocations: 222.4 kB / 452.2 MB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.1718, allocations: 65.17 kB / 452.3 MB, free: 39.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.1718, allocations: 6.906 kB / 452.3 MB, free: 39.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.063e-05/0.1719, allocations: 9.938 kB / 452.3 MB, free: 39.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.1719, allocations: 9.25 kB / 452.3 MB, free: 39.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.1719, allocations: 2.938 kB / 452.3 MB, free: 39.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004009/0.1723, allocations: 0.7761 MB / 453.1 MB, free: 39.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1723, allocations: 0 / 453.1 MB, free: 39.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001729/0.1725, allocations: 49.09 kB / 453.2 MB, free: 39.07 MB / 410.7 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.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0008883/0.1734, allocations: 1.083 MB / 454.2 MB, free: 38.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.1735, allocations: 86.28 kB / 454.3 MB, free: 38.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1735, allocations: 3.938 kB / 454.3 MB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.745e-05/0.1736, allocations: 40.5 kB / 454.4 MB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.1739, allocations: 74.53 kB / 454.4 MB, free: 38.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/0.1769, allocations: 4.529 MB / 459 MB, free: 36.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.177, allocations: 244.4 kB / 459.2 MB, free: 36.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.279e-05/0.1771, allocations: 54.95 kB / 459.3 MB, free: 36.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.1772, allocations: 152.5 kB / 459.4 MB, free: 35.95 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1772, allocations: 0 / 459.4 MB, free: 35.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.1958, allocations: 9.981 MB / 469.4 MB, free: 33.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.017/7.213, allocations: 8.375 kB / 469.4 MB, free: 33.94 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.57542 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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: 9.305332636460662]