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.001007/0.001014, allocations: 99.25 kB / 17 MB, free: 6.387 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.001254/0.001255, allocations: 181 kB / 17.89 MB, free: 5.914 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.541/1.541, allocations: 223.3 MB / 241.9 MB, free: 244 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2389/0.2389, allocations: 44.25 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000428/0.0004282, allocations: 16.69 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1535, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002864/0.1564, allocations: 1.464 MB / 473.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.1583, allocations: 0.8894 MB / 474 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001549/0.1585, allocations: 3.938 kB / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005889/0.1591, allocations: 291.4 kB / 474.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003679/0.1595, allocations: 183.5 kB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.16, allocations: 150.4 kB / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00036/0.1603, allocations: 203.4 kB / 474.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.933e-05/0.1604, allocations: 9.547 kB / 474.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.1607, allocations: 111.6 kB / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.1609, allocations: 159.6 kB / 475.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.161, allocations: 4 kB / 475.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.1611, allocations: 39.91 kB / 475.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.1613, allocations: 127.6 kB / 475.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.543e-05/0.1614, allocations: 77.44 kB / 475.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004072/0.1618, allocations: 275.8 kB / 475.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1618, allocations: 7.938 kB / 475.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1618, allocations: 0 / 475.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.1618, allocations: 0 / 475.6 MB, free: 9.699 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.001171/0.163, allocations: 0.6571 MB / 476.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/0.1631, allocations: 8.562 kB / 476.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.1632, allocations: 47.34 kB / 476.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000705/0.1639, allocations: 423.1 kB / 476.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.164, allocations: 4 kB / 476.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.164, allocations: 4 kB / 476.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.1642, allocations: 87.31 kB / 476.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1642, allocations: 0 / 476.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.1643, allocations: 0 / 476.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.1643, allocations: 0 / 476.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.1644, allocations: 35.91 kB / 476.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005911/0.165, allocations: 378.3 kB / 477.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.1654, allocations: 97.23 kB / 477.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.1655, allocations: 41.7 kB / 477.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.1655, allocations: 7.938 kB / 477.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000337/0.1659, allocations: 109 kB / 477.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.234e-06/0.1659, allocations: 0 / 477.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006554/0.1665, allocations: 196.9 kB / 477.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.988e-05/0.1666, allocations: 81.11 kB / 477.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.1679, allocations: 1.011 MB / 478.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1679, allocations: 25.7 kB / 478.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.1681, allocations: 228.1 kB / 479 MB, free: 6.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.986e-05/0.1682, allocations: 27.69 kB / 479 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-06/0.1682, allocations: 4 kB / 479 MB, free: 6.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002415/0.1684, allocations: 362.8 kB / 479.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.755e-05/0.1685, allocations: 31.92 kB / 479.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.755e-05/0.1687, allocations: 67.41 kB / 479.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.1688, allocations: 32.5 kB / 479.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1688, allocations: 0 / 479.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003997/0.1692, allocations: 164.9 kB / 479.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.1692, allocations: 16.02 kB / 479.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.1692, allocations: 0 / 479.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.1693, allocations: 0 / 479.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.1694, allocations: 31.86 kB / 479.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.1694, allocations: 0 / 479.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.1696, allocations: 11.94 kB / 479.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.1696, allocations: 4 kB / 479.7 MB, free: 5.289 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 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000253/0.1699, allocations: 221.7 kB / 479.9 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.307e-05/0.17, allocations: 55.28 kB / 480 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.927e-05/0.1701, allocations: 67.8 kB / 480 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1701, allocations: 0 / 480 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.1701, allocations: 0 / 480 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1701, allocations: 0 / 480 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003821/0.1705, allocations: 333.5 kB / 480.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1705, allocations: 0 / 480.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-05/0.1705, allocations: 8 kB / 480.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1706, allocations: 0 / 480.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.1706, allocations: 4 kB / 480.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.1706, allocations: 7.953 kB / 480.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1706, allocations: 4 kB / 480.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.1709, allocations: 197.2 kB / 480.6 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.1711, allocations: 144.5 kB / 480.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.1712, allocations: 4.109 kB / 480.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.62e-05/0.1712, allocations: 8 kB / 480.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.521e-05/0.1713, allocations: 19.94 kB / 480.8 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.1714, allocations: 4 kB / 480.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000898/0.1723, allocations: 0.7487 MB / 481.5 MB, free: 3.383 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1723, allocations: 0 / 481.5 MB, free: 3.383 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003017/0.1726, allocations: 43.98 kB / 481.6 MB, free: 3.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001122/0.1737, allocations: 430.9 kB / 482 MB, free: 3.074 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000271/0.174, allocations: 79.97 kB / 482.1 MB, free: 2.996 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.174, allocations: 4.062 kB / 482.1 MB, free: 2.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.1741, allocations: 32.36 kB / 482.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.1746, allocations: 62.39 kB / 482.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.176, allocations: 0.893 MB / 483 MB, free: 1.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/0.1766, allocations: 0.8391 MB / 483.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000142/0.1767, allocations: 46.97 kB / 483.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.862e-05/0.1768, allocations: 35.42 kB / 484 MB, free: 1.027 MB / 350.1 MB Notification: Performance of SimCode: time 1.122e-06/0.1768, allocations: 0 / 484 MB, free: 1.027 MB / 350.1 MB Notification: Performance of Templates: time 0.008642/0.1855, allocations: 3.341 MB / 487.3 MB, free: 13.71 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/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