Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001251/0.001251, allocations: 107.4 kB / 17.98 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001315/0.001315, allocations: 209.8 kB / 18.92 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.702/1.702, allocations: 227.4 MB / 247.1 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4033/0.4033, allocations: 46.09 MB / 344.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002676/0.002676, allocations: 78.06 kB / 417.7 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1608, allocations: 62.44 MB / 480.1 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.005867/0.1667, allocations: 2.376 MB / 482.5 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004531/0.1713, allocations: 1.66 MB / 484.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000337/0.1717, allocations: 4 kB / 484.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006609/0.1723, allocations: 127.5 kB / 484.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.1734, allocations: 263.1 kB / 484.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002063/0.1755, allocations: 0.5014 MB / 485.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001021/0.1765, allocations: 0.5649 MB / 485.6 MB, free: 136 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002424/0.1768, allocations: 69.08 kB / 485.7 MB, free: 64 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005286/0.1773, allocations: 239.1 kB / 485.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004427/0.1778, allocations: 231 kB / 486.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.312e-05/0.1779, allocations: 28 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004508/0.1784, allocations: 155.7 kB / 486.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.1786, allocations: 139.5 kB / 486.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003413/0.179, allocations: 214.6 kB / 486.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008312/0.1798, allocations: 463.3 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-05/0.1799, allocations: 0 / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1799, allocations: 0 / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.1799, allocations: 0 / 487.1 MB, free: 14.62 MB / 366.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.002036/0.182, allocations: 0.9136 MB / 488 MB, free: 13.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.182, allocations: 12.03 kB / 488 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/0.1822, allocations: 52.28 kB / 488.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009884/0.1833, allocations: 480 kB / 488.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.1833, allocations: 16.59 kB / 488.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.441e-05/0.1834, allocations: 20.12 kB / 488.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007723/0.1842, allocations: 266.7 kB / 488.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1842, allocations: 0 / 488.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.278e-05/0.1842, allocations: 8 kB / 488.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1843, allocations: 0 / 488.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005325/0.1848, allocations: 115.9 kB / 489 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/0.1866, allocations: 0.8874 MB / 489.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.1877, allocations: 294.5 kB / 490.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004164/0.1882, allocations: 107.4 kB / 490.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.431e-05/0.1882, allocations: 8 kB / 490.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007576/0.189, allocations: 222.4 kB / 490.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 3.176e-06/0.189, allocations: 0 / 490.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001661/0.1907, allocations: 409.6 kB / 490.9 MB, free: 10.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002378/0.1909, allocations: 342.1 kB / 491.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/0.1924, allocations: 0.6631 MB / 491.9 MB, free: 9.473 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.847e-05/0.1925, allocations: 33.7 kB / 491.9 MB, free: 9.434 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/0.1928, allocations: 240.4 kB / 492.2 MB, free: 9.195 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.1929, allocations: 67.23 kB / 492.2 MB, free: 9.129 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.1931, allocations: 65.69 kB / 492.3 MB, free: 9.059 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002322/0.1933, allocations: 374.8 kB / 492.7 MB, free: 8.684 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004604/0.1938, allocations: 75.95 kB / 492.7 MB, free: 8.609 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005767/0.1944, allocations: 241.6 kB / 493 MB, free: 8.312 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008355/0.1953, allocations: 242.7 kB / 493.2 MB, free: 8.051 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.1953, allocations: 0 / 493.2 MB, free: 8.051 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001262/0.1965, allocations: 312.8 kB / 493.5 MB, free: 7.738 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.1966, allocations: 8 kB / 493.5 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.1966, allocations: 0 / 493.5 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/0.1966, allocations: 7.938 kB / 493.5 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004354/0.1971, allocations: 56.28 kB / 493.6 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.1971, allocations: 7.984 kB / 493.6 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004042/0.1975, allocations: 35.78 kB / 493.6 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.446e-05/0.1976, allocations: 15.98 kB / 493.6 MB, free: 7.609 MB / 366.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.0004345/0.1981, allocations: 217.7 kB / 493.8 MB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.1982, allocations: 55.34 kB / 493.9 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.1985, allocations: 60.25 kB / 494 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.1985, allocations: 11.94 kB / 494 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.1985, allocations: 0 / 494 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.1985, allocations: 4 kB / 494 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000713/0.1992, allocations: 425.2 kB / 494.4 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.1993, allocations: 0 / 494.4 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002088/0.1995, allocations: 31.86 kB / 494.4 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.1995, allocations: 0 / 494.4 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.083e-05/0.1995, allocations: 11.98 kB / 494.4 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.003e-05/0.1996, allocations: 7.938 kB / 494.4 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1996, allocations: 0 / 494.4 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.2007, allocations: 358.7 kB / 494.8 MB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.2009, allocations: 132.4 kB / 494.9 MB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.2011, allocations: 8 kB / 494.9 MB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003154/0.2014, allocations: 23.92 kB / 495 MB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.2016, allocations: 43.95 kB / 495 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.699e-05/0.2016, allocations: 15.98 kB / 495 MB, free: 6.121 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009886/0.2026, allocations: 486.8 kB / 495.5 MB, free: 5.648 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2026, allocations: 0 / 495.5 MB, free: 5.648 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007949/0.2035, allocations: 103.9 kB / 495.6 MB, free: 5.547 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.001849/0.2053, allocations: 448.2 kB / 496 MB, free: 5.238 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.2064, allocations: 242.8 kB / 496.3 MB, free: 5.004 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.2064, allocations: 4 kB / 496.3 MB, free: 5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005071/0.2069, allocations: 123.8 kB / 496.4 MB, free: 4.879 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.2082, allocations: 151.7 kB / 496.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.2106, allocations: 0.9669 MB / 497.5 MB, free: 3.727 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006824/0.2113, allocations: 0.8467 MB / 498.3 MB, free: 2.848 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/0.2115, allocations: 55.41 kB / 498.4 MB, free: 2.793 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2115, allocations: 3.938 kB / 498.4 MB, free: 2.789 MB / 366.1 MB Notification: Performance of Templates: time 0.01885/0.2304, allocations: 7.266 MB / 0.4938 GB, free: 11.55 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches