Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 108.7 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.001131, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 222.9 MB / 241.8 MB, free: 15.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2484/0.2484, allocations: 44.17 MB / 336.1 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 66.09 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1525, allocations: 60.82 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.004164/0.1567, allocations: 1.842 MB / 470.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002353/0.1591, allocations: 0.9511 MB / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002548/0.1594, allocations: 0 / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.1605, allocations: 291.4 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007819/0.1613, allocations: 199.5 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008021/0.1621, allocations: 150.1 kB / 471.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005194/0.1627, allocations: 231.4 kB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1628, allocations: 17.55 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002918/0.1631, allocations: 115.5 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003317/0.1634, allocations: 180 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.1635, allocations: 4 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.1636, allocations: 47.92 kB / 472.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001968/0.1638, allocations: 132.5 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.164, allocations: 142.9 kB / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005478/0.1646, allocations: 339 kB / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1646, allocations: 0 / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1646, allocations: 0 / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.1646, allocations: 4 kB / 473.1 MB, free: 10.21 MB / 350.1 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.001129/0.1658, allocations: 0.7191 MB / 473.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.1658, allocations: 12.03 kB / 473.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.1659, allocations: 48.28 kB / 473.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006389/0.1666, allocations: 435.9 kB / 474.3 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.1666, allocations: 12.38 kB / 474.4 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.1666, allocations: 8.125 kB / 474.4 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.1669, allocations: 87.3 kB / 474.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1669, allocations: 0 / 474.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.1669, allocations: 0 / 474.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1669, allocations: 0 / 474.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.167, allocations: 27.98 kB / 474.5 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.1675, allocations: 374.3 kB / 474.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.1678, allocations: 109.2 kB / 474.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.168, allocations: 45.64 kB / 475 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.168, allocations: 4 kB / 475 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003404/0.1684, allocations: 109 kB / 475.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.1684, allocations: 0 / 475.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000647/0.169, allocations: 196.9 kB / 475.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.1691, allocations: 89.11 kB / 475.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.1702, allocations: 1.003 MB / 476.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.1702, allocations: 29.7 kB / 476.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.1704, allocations: 228 kB / 476.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.1705, allocations: 27.7 kB / 476.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.1705, allocations: 29.72 kB / 476.7 MB, free: 6.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1707, allocations: 362.8 kB / 477 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.952e-05/0.1708, allocations: 31.98 kB / 477.1 MB, free: 6.012 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.839e-05/0.1709, allocations: 59.41 kB / 477.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.1711, allocations: 79.36 kB / 477.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.1711, allocations: 7.938 kB / 477.2 MB, free: 5.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003353/0.1714, allocations: 180.8 kB / 477.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.1715, allocations: 4 kB / 477.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1715, allocations: 0 / 477.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.1715, allocations: 4 kB / 477.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.1716, allocations: 19.98 kB / 477.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.1716, allocations: 4.625 kB / 477.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.759e-05/0.1717, allocations: 7.938 kB / 477.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.1718, allocations: 8 kB / 477.4 MB, free: 5.613 MB / 350.1 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.0003656/0.1721, allocations: 226.2 kB / 477.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.439e-05/0.1722, allocations: 51.34 kB / 477.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.1723, allocations: 55.84 kB / 477.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.1723, allocations: 4 kB / 477.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.1724, allocations: 4 kB / 477.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1724, allocations: 0 / 477.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005026/0.1729, allocations: 341.4 kB / 478.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1729, allocations: 0 / 478.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.802e-05/0.1729, allocations: 8 kB / 478.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1729, allocations: 4 kB / 478.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.173, allocations: 4 kB / 478.1 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.173, allocations: 3.984 kB / 478.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.173, allocations: 0 / 478.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.1734, allocations: 205.2 kB / 478.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002138/0.1736, allocations: 136.5 kB / 478.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.686e-05/0.1736, allocations: 0 / 478.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.14e-05/0.1737, allocations: 11.98 kB / 478.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.1738, allocations: 11.94 kB / 478.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.1738, allocations: 7.984 kB / 478.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007939/0.1746, allocations: 0.7526 MB / 479.2 MB, free: 3.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1746, allocations: 96 / 479.2 MB, free: 3.707 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002822/0.1749, allocations: 47.94 kB / 479.3 MB, free: 3.66 MB / 350.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.00103/0.176, allocations: 414.5 kB / 479.7 MB, free: 3.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002596/0.1762, allocations: 83.91 kB / 479.8 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1762, allocations: 0 / 479.8 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.1764, allocations: 47.89 kB / 479.8 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.1768, allocations: 75.97 kB / 479.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.1783, allocations: 0.9192 MB / 480.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.1787, allocations: 0.8391 MB / 481.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001369/0.1789, allocations: 58.94 kB / 481.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.783e-05/0.179, allocations: 31.38 kB / 481.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.179, allocations: 0 / 481.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of Templates: time 0.009138/0.1881, allocations: 3.53 MB / 485.3 MB, free: 13.8 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches