Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.0011, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001089/0.001089, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.538/1.538, allocations: 222.9 MB / 243 MB, free: 15.16 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.2537/0.2537, allocations: 44.19 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 66.25 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1631, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003921/0.167, allocations: 1.796 MB / 472.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.1688, allocations: 0.9588 MB / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.1689, allocations: 3.938 kB / 473.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005245/0.1694, allocations: 303.3 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003777/0.1699, allocations: 207.4 kB / 474 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/0.1703, allocations: 166.9 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000357/0.1707, allocations: 243.4 kB / 474.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.596e-05/0.1707, allocations: 13.55 kB / 474.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.1709, allocations: 119.6 kB / 474.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.1711, allocations: 191.9 kB / 474.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.1711, allocations: 4 kB / 474.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1712, allocations: 47.98 kB / 474.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.1714, allocations: 136.6 kB / 474.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.1715, allocations: 138.8 kB / 475 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003528/0.1719, allocations: 362.7 kB / 475.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1719, allocations: 0 / 475.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1719, allocations: 0 / 475.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.1719, allocations: 0 / 475.4 MB, free: 8.973 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.0009478/0.1729, allocations: 0.7114 MB / 476.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1729, allocations: 8.031 kB / 476.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.961e-05/0.173, allocations: 52.28 kB / 476.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006272/0.1736, allocations: 447.8 kB / 476.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.1737, allocations: 4.375 kB / 476.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.1737, allocations: 8.125 kB / 476.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.1739, allocations: 83.36 kB / 476.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.1739, allocations: 0 / 476.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.1739, allocations: 4 kB / 476.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.174, allocations: 4 kB / 476.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.1741, allocations: 31.92 kB / 476.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.1745, allocations: 370.3 kB / 477.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.1747, allocations: 109.2 kB / 477.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.002e-05/0.1748, allocations: 41.64 kB / 477.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.1749, allocations: 0 / 477.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.1751, allocations: 109.1 kB / 477.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.1751, allocations: 4 kB / 477.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004792/0.1756, allocations: 196.9 kB / 477.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.1757, allocations: 88.98 kB / 477.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.1767, allocations: 1.003 MB / 478.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.1767, allocations: 29.7 kB / 478.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.1769, allocations: 236.1 kB / 478.9 MB, free: 5.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.177, allocations: 27.69 kB / 478.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-05/0.177, allocations: 29.72 kB / 478.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1772, allocations: 366.8 kB / 479.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.089e-05/0.1773, allocations: 23.98 kB / 479.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.1774, allocations: 66.28 kB / 479.4 MB, free: 4.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.1776, allocations: 87.36 kB / 479.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1776, allocations: 0 / 479.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002744/0.1779, allocations: 172.9 kB / 479.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1779, allocations: 11.28 kB / 479.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1779, allocations: 0 / 479.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1779, allocations: 0 / 479.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.178, allocations: 28.55 kB / 479.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.178, allocations: 0 / 479.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.856e-05/0.1781, allocations: 15.91 kB / 479.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.1782, allocations: 8 kB / 479.7 MB, free: 4.367 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.0002035/0.1784, allocations: 229.6 kB / 479.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-05/0.1784, allocations: 43.44 kB / 479.9 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.834e-05/0.1785, allocations: 63.84 kB / 480 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1785, allocations: 0 / 480 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1785, allocations: 0 / 480 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1785, allocations: 0 / 480 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.1788, allocations: 341.4 kB / 480.3 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1788, allocations: 7.938 kB / 480.3 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.172e-05/0.1789, allocations: 4 kB / 480.3 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1789, allocations: 4 kB / 480.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1789, allocations: 0 / 480.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.1789, allocations: 0 / 480.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.1789, allocations: 4 kB / 480.4 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.1792, allocations: 209.2 kB / 480.6 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.1794, allocations: 136.5 kB / 480.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/0.1795, allocations: 4 kB / 480.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.285e-05/0.1795, allocations: 4 kB / 480.7 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.1796, allocations: 12.08 kB / 480.7 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.1796, allocations: 11.92 kB / 480.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007226/0.1803, allocations: 0.7448 MB / 481.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1803, allocations: 0 / 481.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.1806, allocations: 43.98 kB / 481.5 MB, free: 2.426 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.001/0.1816, allocations: 413 kB / 481.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002522/0.1819, allocations: 83.84 kB / 482 MB, free: 2.094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.1819, allocations: 0 / 482 MB, free: 2.094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.182, allocations: 39.97 kB / 482 MB, free: 2.055 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.1824, allocations: 77.12 kB / 482.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.1836, allocations: 0.8509 MB / 483 MB, free: 1.105 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005386/0.1842, allocations: 0.8349 MB / 483.8 MB, free: 252 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.1843, allocations: 59.44 kB / 483.9 MB, free: 192 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.324e-05/0.1844, allocations: 31.44 kB / 483.9 MB, free: 160 kB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1844, allocations: 0 / 483.9 MB, free: 160 kB / 350.1 MB Notification: Performance of Templates: time 0.01076/0.1952, allocations: 3.661 MB / 487.5 MB, free: 12.51 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches