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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001516/0.001516, allocations: 95.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00181/0.00181, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.01/1.01, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.279/0.279, allocations: 34.87 MB / 296.3 MB, free: 0.5352 MB / 266.7 MB " [Timeout remaining time 180] 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=5007,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=5007,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 378.7 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.405e-05, allocations: 8.281 kB / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002922/0.002946, allocations: 2.298 MB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002197/0.005143, allocations: 1.669 MB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.005336, allocations: 3.938 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004041/0.00574, allocations: 151.1 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005374/0.006277, allocations: 294.6 kB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009823/0.00726, allocations: 0.5416 MB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005991/0.007859, allocations: 0.5842 MB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.008026, allocations: 41.27 kB / 384.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003876/0.008413, allocations: 311.2 kB / 384.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.008644, allocations: 211.4 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.008686, allocations: 28 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003173/0.009004, allocations: 191.6 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.009142, allocations: 143.4 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.009249, allocations: 111.6 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005643/0.009813, allocations: 466.3 kB / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.009817, allocations: 4 kB / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.009819, allocations: 0 / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.009827, allocations: 0 / 385.8 MB, free: 11.04 MB / 362.7 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.000982/0.01081, allocations: 0.9574 MB / 386.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.01085, allocations: 8.031 kB / 386.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.01096, allocations: 64.61 kB / 386.8 MB, free: 9.945 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004538/0.01141, allocations: 399.2 kB / 387.2 MB, free: 9.523 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.01144, allocations: 12.61 kB / 387.2 MB, free: 9.512 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.01146, allocations: 12.38 kB / 387.2 MB, free: 9.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006197/0.01208, allocations: 340.4 kB / 387.5 MB, free: 9.102 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.01209, allocations: 4.188 kB / 387.5 MB, free: 9.098 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.01211, allocations: 8.375 kB / 387.5 MB, free: 9.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.01212, allocations: 7.938 kB / 387.6 MB, free: 9.082 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.01225, allocations: 63.88 kB / 387.6 MB, free: 9.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008073/0.01306, allocations: 0.9375 MB / 388.6 MB, free: 8.031 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.01336, allocations: 232.5 kB / 388.8 MB, free: 7.754 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.991e-05/0.01345, allocations: 82.66 kB / 388.9 MB, free: 7.656 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.01347, allocations: 8 kB / 388.9 MB, free: 7.648 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.01369, allocations: 197 kB / 389.1 MB, free: 7.426 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.323e-06/0.01369, allocations: 0 / 389.1 MB, free: 7.426 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004613/0.01415, allocations: 310.1 kB / 389.4 MB, free: 7.117 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.403e-05/0.01424, allocations: 239.3 kB / 389.6 MB, free: 6.828 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004555/0.01469, allocations: 0.5689 MB / 390.2 MB, free: 6.242 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.01472, allocations: 33.7 kB / 390.2 MB, free: 6.203 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.01487, allocations: 287.3 kB / 390.5 MB, free: 5.918 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.64e-05/0.01493, allocations: 75.61 kB / 390.6 MB, free: 5.844 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.307e-05/0.015, allocations: 71.33 kB / 390.6 MB, free: 5.766 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.01515, allocations: 0.5469 MB / 391.2 MB, free: 5.207 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.579e-05/0.01523, allocations: 35.97 kB / 391.2 MB, free: 5.172 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.01543, allocations: 408.5 kB / 391.6 MB, free: 4.656 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.01561, allocations: 169.3 kB / 391.8 MB, free: 4.457 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01562, allocations: 0 / 391.8 MB, free: 4.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003155/0.01593, allocations: 257.3 kB / 392 MB, free: 4.199 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.01595, allocations: 8 kB / 392 MB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.01595, allocations: 0 / 392 MB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.01597, allocations: 7.984 kB / 392 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.01613, allocations: 51.91 kB / 392.1 MB, free: 4.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.01614, allocations: 4 kB / 392.1 MB, free: 4.129 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.01624, allocations: 35.83 kB / 392.1 MB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.01626, allocations: 8 kB / 392.1 MB, free: 4.086 MB / 362.7 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.0001427/0.0164, allocations: 196.4 kB / 392.3 MB, free: 3.883 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.154e-05/0.01647, allocations: 59.7 kB / 392.4 MB, free: 3.824 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004289/0.0169, allocations: 301.7 kB / 392.7 MB, free: 3.523 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.0169, allocations: 4 kB / 392.7 MB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.01691, allocations: 4 kB / 392.7 MB, free: 3.516 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.01692, allocations: 0 / 392.7 MB, free: 3.516 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.01722, allocations: 332.3 kB / 393 MB, free: 3.156 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.01722, allocations: 0 / 393 MB, free: 3.156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.6e-05/0.01731, allocations: 27.98 kB / 393 MB, free: 3.129 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.01731, allocations: 4 kB / 393 MB, free: 3.125 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.01733, allocations: 11.98 kB / 393.1 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.01733, allocations: 4.125 kB / 393.1 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.01734, allocations: 7.938 kB / 393.1 MB, free: 3.102 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003845/0.01772, allocations: 346.9 kB / 393.4 MB, free: 2.727 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.147e-05/0.01779, allocations: 55.59 kB / 393.5 MB, free: 2.672 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/0.01783, allocations: 12 kB / 393.5 MB, free: 2.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.243e-05/0.01792, allocations: 11.98 kB / 393.5 MB, free: 2.648 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.372e-05/0.01801, allocations: 43.94 kB / 393.5 MB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.01804, allocations: 16 kB / 393.5 MB, free: 2.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003129/0.01835, allocations: 382.7 kB / 393.9 MB, free: 2.219 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01835, allocations: 0 / 393.9 MB, free: 2.219 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000336/0.01869, allocations: 99.81 kB / 394 MB, free: 2.121 MB / 362.7 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.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * 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.001244/0.01993, allocations: 447.6 kB / 394.5 MB, free: 1.789 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002712/0.0202, allocations: 159.5 kB / 394.6 MB, free: 1.629 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.0202, allocations: 0 / 394.6 MB, free: 1.629 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.02032, allocations: 95.52 kB / 394.7 MB, free: 1.531 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.02074, allocations: 168.2 kB / 394.9 MB, free: 1.383 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007979/0.02154, allocations: 0.7189 MB / 395.6 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.654e-05/0.02161, allocations: 133.6 kB / 395.7 MB, free: 476 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.02175, allocations: 83.27 kB / 395.8 MB, free: 392 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.103e-05/0.02184, allocations: 56.47 kB / 395.8 MB, free: 336 kB / 362.7 MB Notification: Performance of SimCode: time 6.52e-07/0.02184, allocations: 0 / 395.8 MB, free: 336 kB / 362.7 MB Notification: Performance of Templates: time 0.009969/0.03181, allocations: 7.988 MB / 403.8 MB, free: 8.426 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5557907167822123]