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.00151/0.00151, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.00173/0.00173, allocations: 160.2 kB / 24.91 MB, free: 8.758 MB / 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 0.992/0.992, allocations: 177 MB / 205.2 MB, free: 5.055 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.2896/0.2896, allocations: 34.86 MB / 296.6 MB, free: 460 kB / 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.654e-06/1.654e-06, allocations: 3.938 kB / 325.9 MB, free: 7.199 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.427e-05, allocations: 2.312 kB / 325.9 MB, free: 7.195 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003728/0.003752, allocations: 2.285 MB / 328.2 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002916/0.006668, allocations: 1.683 MB / 329.9 MB, free: 3.207 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002119/0.00688, allocations: 3.938 kB / 329.9 MB, free: 3.203 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004179/0.007298, allocations: 139.2 kB / 330 MB, free: 3.066 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000651/0.007949, allocations: 306.5 kB / 330.3 MB, free: 2.766 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.009207, allocations: 0.5383 MB / 330.8 MB, free: 2.227 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007054/0.009912, allocations: 0.5888 MB / 331.4 MB, free: 1.637 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.01007, allocations: 49.23 kB / 331.5 MB, free: 1.582 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004704/0.01054, allocations: 315.2 kB / 331.8 MB, free: 1.273 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.0108, allocations: 199.4 kB / 332 MB, free: 1.078 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.064e-05/0.01085, allocations: 24 kB / 332 MB, free: 1.055 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003779/0.01123, allocations: 187.6 kB / 332.2 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.0114, allocations: 139.5 kB / 332.3 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.01154, allocations: 111.6 kB / 332.4 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000651/0.01219, allocations: 470.3 kB / 332.9 MB, free: 164 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.01219, allocations: 0 / 332.9 MB, free: 164 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01219, allocations: 0 / 332.9 MB, free: 164 kB / 298.7 MB Notification: Performance of Transformations before backend: time 9.138e-06/0.0122, allocations: 0 / 332.9 MB, free: 164 kB / 298.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.001111/0.01331, allocations: 0.8106 MB / 333.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.01335, allocations: 8.031 kB / 333.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.349e-05/0.01344, allocations: 40.89 kB / 333.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004907/0.01393, allocations: 341.8 kB / 334.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.01396, allocations: 12.61 kB / 334.1 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.014, allocations: 20.3 kB / 334.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.01429, allocations: 182.4 kB / 334.3 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.0143, allocations: 192 / 334.3 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.01432, allocations: 8.375 kB / 334.3 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.01433, allocations: 7.938 kB / 334.3 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.01444, allocations: 59.2 kB / 334.4 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006931/0.01513, allocations: 0.5573 MB / 334.9 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/0.01547, allocations: 368.4 kB / 335.3 MB, free: 13.58 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.293e-05/0.01556, allocations: 59.41 kB / 335.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.01557, allocations: 4 kB / 335.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.0158, allocations: 165.4 kB / 335.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 1.783e-06/0.0158, allocations: 0 / 335.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003732/0.01617, allocations: 197.6 kB / 335.7 MB, free: 13.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/0.01624, allocations: 140.5 kB / 335.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005001/0.01674, allocations: 488.8 kB / 336.3 MB, free: 12.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.01677, allocations: 37.7 kB / 336.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.92e-05/0.01687, allocations: 153.7 kB / 336.5 MB, free: 12.26 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.894e-05/0.01697, allocations: 71.5 kB / 336.6 MB, free: 12.19 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-05/0.01704, allocations: 53.67 kB / 336.6 MB, free: 12.13 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.963e-05/0.01714, allocations: 370.7 kB / 337 MB, free: 11.76 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.202e-05/0.0172, allocations: 30.75 kB / 337 MB, free: 11.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.01731, allocations: 217.1 kB / 337.2 MB, free: 11.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.01745, allocations: 156.9 kB / 337.4 MB, free: 11.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.01745, allocations: 7.875 kB / 337.4 MB, free: 11.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002066/0.01766, allocations: 185 kB / 337.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.01767, allocations: 8 kB / 337.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.01768, allocations: 0 / 337.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.01769, allocations: 8 kB / 337.6 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.01784, allocations: 47.91 kB / 337.6 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.01785, allocations: 4 kB / 337.6 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.185e-05/0.01794, allocations: 31.88 kB / 337.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.01795, allocations: 4 kB / 337.7 MB, free: 10.97 MB / 314.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.0001123/0.01806, allocations: 152.5 kB / 337.8 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.01811, allocations: 48.02 kB / 337.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.01834, allocations: 185.8 kB / 338 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.01835, allocations: 7.938 kB / 338.1 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.01835, allocations: 0 / 338.1 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.01835, allocations: 0 / 338.1 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.01856, allocations: 209.5 kB / 338.3 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01856, allocations: 0 / 338.3 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.191e-05/0.01863, allocations: 31.98 kB / 338.3 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.01863, allocations: 7.938 kB / 338.3 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.01865, allocations: 11.98 kB / 338.3 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.01865, allocations: 0 / 338.3 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01865, allocations: 4 kB / 338.3 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.01886, allocations: 221.9 kB / 338.5 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.817e-05/0.01891, allocations: 55.5 kB / 338.6 MB, free: 9.988 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.01895, allocations: 11.98 kB / 338.6 MB, free: 9.977 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.01902, allocations: 16 kB / 338.6 MB, free: 9.961 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.017e-05/0.01909, allocations: 43.97 kB / 338.7 MB, free: 9.918 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.01911, allocations: 19.98 kB / 338.7 MB, free: 9.898 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001929/0.0193, allocations: 235.2 kB / 338.9 MB, free: 9.668 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0193, allocations: 0 / 338.9 MB, free: 9.668 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002798/0.01958, allocations: 91.92 kB / 339 MB, free: 9.578 MB / 314.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.001149/0.02073, allocations: 0.5426 MB / 339.5 MB, free: 9.285 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.02093, allocations: 136.8 kB / 339.7 MB, free: 9.148 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.02094, allocations: 8 kB / 339.7 MB, free: 9.141 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.458e-05/0.02104, allocations: 76.69 kB / 339.8 MB, free: 9.062 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.02139, allocations: 165.2 kB / 339.9 MB, free: 8.914 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007198/0.02211, allocations: 0.6992 MB / 340.6 MB, free: 8.168 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.494e-05/0.02218, allocations: 129.6 kB / 340.7 MB, free: 8.02 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001337/0.02232, allocations: 71.44 kB / 340.8 MB, free: 7.949 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.02251, allocations: 151.3 kB / 341 MB, free: 7.801 MB / 314.7 MB Notification: Performance of SimCode: time 7.72e-07/0.02251, allocations: 4 kB / 341 MB, free: 7.797 MB / 314.7 MB Notification: Performance of Templates: time 0.01037/0.03288, allocations: 8.342 MB / 349.3 MB, free: 15.55 MB / 330.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.1854913318529725]