Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.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.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001084/0.001084, allocations: 199.3 kB / 19.23 MB, free: 3.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.53/1.53, allocations: 222.9 MB / 242.9 MB, free: 15.17 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.231/0.231, allocations: 44.17 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 59.69 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1581, allocations: 60.83 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.005256/0.1634, allocations: 2.259 MB / 472.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003617/0.167, allocations: 1.563 MB / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002185/0.1673, allocations: 7.938 kB / 473.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005692/0.1679, allocations: 135.3 kB / 473.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006164/0.1685, allocations: 227 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.1707, allocations: 0.6523 MB / 474.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007745/0.1715, allocations: 0.522 MB / 475.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/0.1717, allocations: 81.05 kB / 475.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003473/0.1721, allocations: 223.1 kB / 475.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003346/0.1724, allocations: 211.1 kB / 475.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.09e-05/0.1725, allocations: 24 kB / 475.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004319/0.173, allocations: 159.8 kB / 476 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.1732, allocations: 131.5 kB / 476.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002497/0.1735, allocations: 206.6 kB / 476.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008504/0.1743, allocations: 0.561 MB / 476.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1744, allocations: 0 / 476.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1744, allocations: 0 / 476.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.1744, allocations: 0 / 476.9 MB, free: 7.434 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001572/0.176, allocations: 0.8825 MB / 477.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.176, allocations: 8.031 kB / 477.7 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.1762, allocations: 60.28 kB / 477.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007881/0.177, allocations: 464.1 kB / 478.3 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.727e-05/0.177, allocations: 12.61 kB / 478.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.037e-05/0.1771, allocations: 20.06 kB / 478.3 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006254/0.1777, allocations: 255.3 kB / 478.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1777, allocations: 0 / 478.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.017e-05/0.1778, allocations: 11.98 kB / 478.5 MB, free: 5.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.1778, allocations: 7.938 kB / 478.6 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004136/0.1782, allocations: 99.94 kB / 478.7 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.1797, allocations: 0.8835 MB / 479.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009484/0.1807, allocations: 298.5 kB / 479.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/0.181, allocations: 107.3 kB / 479.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-05/0.1811, allocations: 4 kB / 479.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006835/0.1818, allocations: 226.3 kB / 480.2 MB, free: 3.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 2.175e-06/0.1818, allocations: 0 / 480.2 MB, free: 3.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001364/0.1832, allocations: 405.3 kB / 480.6 MB, free: 3.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002582/0.1834, allocations: 350.1 kB / 480.9 MB, free: 3.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000817/0.1843, allocations: 0.6316 MB / 481.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.1843, allocations: 33.7 kB / 481.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.1845, allocations: 228.5 kB / 481.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/0.1846, allocations: 63.17 kB / 481.8 MB, free: 2.047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.1847, allocations: 65.69 kB / 481.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1849, allocations: 370.7 kB / 482.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.1851, allocations: 83.92 kB / 482.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/0.1854, allocations: 241.1 kB / 482.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/0.1859, allocations: 230.7 kB / 482.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1859, allocations: 4.438 kB / 482.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006464/0.1866, allocations: 316.8 kB / 483.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.1866, allocations: 10.66 kB / 483.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1866, allocations: 0 / 483.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.1866, allocations: 7.938 kB / 483.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.1869, allocations: 51.91 kB / 483.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1869, allocations: 4 kB / 483.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.1871, allocations: 31.95 kB / 483.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.1872, allocations: 15.98 kB / 483.2 MB, free: 0.5391 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition4,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.integerTable2.combiTimeTable.nextTimeEvent,$whenCondition3,integerTable2.combiTimeTable.nextTimeEventScaled,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,$PRE.integerTable3.combiTimeTable.nextTimeEvent,$whenCondition2,integerTable3.combiTimeTable.nextTimeEventScaled,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,$PRE.integerTable4.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable4.combiTimeTable.nextTimeEventScaled,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0002512/0.1874, allocations: 217.7 kB / 483.5 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.484e-05/0.1875, allocations: 55.33 kB / 483.5 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.616e-05/0.1876, allocations: 51.92 kB / 483.6 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.1876, allocations: 7.938 kB / 483.6 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.1877, allocations: 3.984 kB / 483.6 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1877, allocations: 0 / 483.6 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/0.1881, allocations: 409.3 kB / 484 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.1882, allocations: 4.25 kB / 484 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.1883, allocations: 27.92 kB / 484 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.1883, allocations: 4 kB / 484 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.1883, allocations: 11.98 kB / 484 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.1883, allocations: 3.938 kB / 484 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1883, allocations: 4 kB / 484 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006617/0.189, allocations: 362.7 kB / 484.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.1891, allocations: 124.5 kB / 484.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.128e-05/0.1892, allocations: 15.98 kB / 484.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.1894, allocations: 15.92 kB / 484.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.699e-05/0.1895, allocations: 39.95 kB / 484.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.1895, allocations: 15.94 kB / 484.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005284/0.19, allocations: 470.8 kB / 485.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1901, allocations: 0 / 485.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000427/0.1905, allocations: 99.91 kB / 485.1 MB, free: 14.53 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001097/0.1916, allocations: 466.5 kB / 485.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006211/0.1922, allocations: 243.8 kB / 485.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.1922, allocations: 3.938 kB / 485.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002828/0.1925, allocations: 119.9 kB / 486 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006957/0.1932, allocations: 147 kB / 486.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.1945, allocations: 0.8108 MB / 486.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.195, allocations: 0.8428 MB / 487.8 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.1951, allocations: 51.41 kB / 487.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1951, allocations: 0 / 487.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of Templates: time 0.01028/0.2054, allocations: 7.045 MB / 494.9 MB, free: 4.938 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches