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.001611/0.001611, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001317/0.001317, allocations: 161.6 kB / 25.61 MB, free: 8.582 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.9594/0.9594, allocations: 177 MB / 205.9 MB, free: 4.41 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.1815/0.1815, allocations: 34.88 MB / 297.4 MB, free: 13.32 MB / 282.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 2.144e-06/2.144e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.057e-05/4.271e-05, allocations: 2.875 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004351/0.004393, allocations: 2.275 MB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002803/0.007196, allocations: 1.653 MB / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/0.007391, allocations: 7.938 kB / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005048/0.007895, allocations: 147.2 kB / 384.1 MB, free: 18.65 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006356/0.008531, allocations: 306.5 kB / 384.4 MB, free: 18.35 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.009712, allocations: 0.5377 MB / 384.9 MB, free: 17.81 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006604/0.01037, allocations: 0.5842 MB / 385.5 MB, free: 17.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.01055, allocations: 45.25 kB / 385.5 MB, free: 17.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003634/0.01091, allocations: 307.2 kB / 385.8 MB, free: 16.88 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.01118, allocations: 207.4 kB / 386 MB, free: 16.68 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.031e-05/0.01123, allocations: 28 kB / 386.1 MB, free: 16.65 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003329/0.01156, allocations: 187.7 kB / 386.2 MB, free: 16.46 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.01171, allocations: 135.5 kB / 386.4 MB, free: 16.33 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.01183, allocations: 119.5 kB / 386.5 MB, free: 16.21 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007063/0.01253, allocations: 466.3 kB / 387 MB, free: 15.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.01254, allocations: 4 kB / 387 MB, free: 15.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.01254, allocations: 0 / 387 MB, free: 15.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.01255, allocations: 0 / 387 MB, free: 15.75 MB / 314.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.0008803/0.01343, allocations: 0.9418 MB / 387.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.01347, allocations: 8.031 kB / 387.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.712e-05/0.01357, allocations: 68.56 kB / 388 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.01391, allocations: 399.1 kB / 388.4 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.01393, allocations: 12.61 kB / 388.4 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.01395, allocations: 16.38 kB / 388.4 MB, free: 14.22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.01418, allocations: 184.3 kB / 388.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.01419, allocations: 4.125 kB / 388.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.0142, allocations: 8.375 kB / 388.6 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.01421, allocations: 7.938 kB / 388.6 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.686e-05/0.01428, allocations: 51.92 kB / 388.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005293/0.01481, allocations: 0.8562 MB / 389.5 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.01503, allocations: 212.5 kB / 389.7 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.846e-05/0.01509, allocations: 78.62 kB / 389.8 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.01511, allocations: 4 kB / 389.8 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.01529, allocations: 188.6 kB / 390 MB, free: 12.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 2.825e-06/0.01529, allocations: 0 / 390 MB, free: 12.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003475/0.01564, allocations: 290 kB / 390.3 MB, free: 12.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.01567, allocations: 132.5 kB / 390.4 MB, free: 12.03 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.01596, allocations: 0.5453 MB / 390.9 MB, free: 11.47 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.01599, allocations: 33.7 kB / 391 MB, free: 11.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.0161, allocations: 299.2 kB / 391.3 MB, free: 11.13 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/0.01615, allocations: 75.45 kB / 391.3 MB, free: 11.06 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.818e-05/0.0162, allocations: 63.31 kB / 391.4 MB, free: 10.99 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.764e-05/0.01628, allocations: 0.5585 MB / 391.9 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.545e-05/0.01633, allocations: 27.97 kB / 392 MB, free: 10.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.673e-05/0.01642, allocations: 251 kB / 392.2 MB, free: 10.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.01655, allocations: 165.3 kB / 392.4 MB, free: 9.875 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01656, allocations: 0 / 392.4 MB, free: 9.875 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002263/0.01678, allocations: 241.2 kB / 392.6 MB, free: 9.633 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.0168, allocations: 6.5 kB / 392.6 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.0168, allocations: 4 kB / 392.6 MB, free: 9.625 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.01681, allocations: 0 / 392.6 MB, free: 9.625 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.01695, allocations: 51.91 kB / 392.7 MB, free: 9.574 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.01696, allocations: 8.125 kB / 392.7 MB, free: 9.566 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.374e-05/0.01705, allocations: 27.88 kB / 392.7 MB, free: 9.539 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.01706, allocations: 12 kB / 392.7 MB, free: 9.527 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.0001032/0.01717, allocations: 188.4 kB / 392.9 MB, free: 9.332 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.01722, allocations: 67.66 kB / 393 MB, free: 9.266 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.01751, allocations: 277.6 kB / 393.2 MB, free: 8.984 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.01751, allocations: 8 kB / 393.3 MB, free: 8.977 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.01751, allocations: 0 / 393.3 MB, free: 8.977 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.01752, allocations: 4 kB / 393.3 MB, free: 8.973 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.0177, allocations: 253 kB / 393.5 MB, free: 8.699 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.0177, allocations: 0 / 393.5 MB, free: 8.699 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.144e-05/0.01777, allocations: 39.86 kB / 393.5 MB, free: 8.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.01778, allocations: 0 / 393.5 MB, free: 8.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.01779, allocations: 7.984 kB / 393.6 MB, free: 8.652 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.01779, allocations: 4.125 kB / 393.6 MB, free: 8.648 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01779, allocations: 4 kB / 393.6 MB, free: 8.645 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.01805, allocations: 334.9 kB / 393.9 MB, free: 8.281 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.01809, allocations: 63.48 kB / 393.9 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.01813, allocations: 8 kB / 394 MB, free: 8.211 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.172e-05/0.0182, allocations: 15.98 kB / 394 MB, free: 8.195 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.01826, allocations: 39.94 kB / 394 MB, free: 8.156 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.01828, allocations: 12 kB / 394 MB, free: 8.145 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001669/0.01845, allocations: 358.6 kB / 394.4 MB, free: 7.797 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01845, allocations: 3.938 kB / 394.4 MB, free: 7.793 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003324/0.01878, allocations: 91.88 kB / 394.5 MB, free: 7.703 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.001017/0.0198, allocations: 434.4 kB / 394.9 MB, free: 7.422 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002491/0.02005, allocations: 135.6 kB / 395 MB, free: 7.285 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.02005, allocations: 0 / 395 MB, free: 7.285 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.676e-05/0.02015, allocations: 95.48 kB / 395.1 MB, free: 7.188 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.0206, allocations: 169.2 kB / 395.3 MB, free: 7.039 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007708/0.02137, allocations: 0.7012 MB / 396 MB, free: 6.289 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.33e-05/0.02144, allocations: 133.6 kB / 396.1 MB, free: 6.137 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001333/0.02157, allocations: 75.42 kB / 396.2 MB, free: 6.059 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.02176, allocations: 182.1 kB / 396.4 MB, free: 5.879 MB / 314.7 MB Notification: Performance of SimCode: time 1.713e-06/0.02176, allocations: 0 / 396.4 MB, free: 5.879 MB / 314.7 MB Notification: Performance of Templates: time 0.01214/0.0339, allocations: 8.548 MB / 404.9 MB, free: 13.42 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.5396612766198814]