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.0008391/0.0008391, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.0009503/0.0009503, allocations: 164.5 kB / 24.82 MB, free: 9.281 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.9424/0.9424, allocations: 177 MB / 205.1 MB, free: 5.477 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.265/0.265, allocations: 34.87 MB / 296.6 MB, free: 0.5078 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.543e-06/1.543e-06, allocations: 0 / 379.2 MB, free: 1.859 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.659e-05, allocations: 2.312 kB / 379.2 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003504/0.00353, allocations: 2.272 MB / 381.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002511/0.006041, allocations: 1.654 MB / 383.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.006203, allocations: 7.938 kB / 383.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003961/0.006599, allocations: 147.1 kB / 383.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005691/0.007168, allocations: 298.6 kB / 383.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.008178, allocations: 0.5377 MB / 384.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005681/0.008746, allocations: 0.5881 MB / 384.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.008887, allocations: 49.25 kB / 384.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003794/0.009266, allocations: 307.1 kB / 385.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.009508, allocations: 211.4 kB / 385.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.625e-05/0.009554, allocations: 28 kB / 385.3 MB, free: 11.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003308/0.009885, allocations: 191.6 kB / 385.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.01001, allocations: 135.5 kB / 385.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.01012, allocations: 111.6 kB / 385.7 MB, free: 11.31 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00051/0.01063, allocations: 462.3 kB / 386.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.01064, allocations: 0 / 386.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.01064, allocations: 0 / 386.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.01064, allocations: 4 kB / 386.2 MB, free: 10.86 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.001167/0.01181, allocations: 0.9533 MB / 387.1 MB, free: 9.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.01184, allocations: 16.03 kB / 387.1 MB, free: 9.824 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.01194, allocations: 64.61 kB / 387.2 MB, free: 9.762 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/0.01238, allocations: 383.2 kB / 387.6 MB, free: 9.355 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.0124, allocations: 12.59 kB / 387.6 MB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.01243, allocations: 16.38 kB / 387.6 MB, free: 9.328 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.01269, allocations: 186.9 kB / 387.8 MB, free: 9.121 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.01269, allocations: 192 / 387.8 MB, free: 9.121 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.01271, allocations: 12.36 kB / 387.8 MB, free: 9.109 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.01272, allocations: 11.94 kB / 387.8 MB, free: 9.098 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.01283, allocations: 43.89 kB / 387.9 MB, free: 9.055 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007405/0.01357, allocations: 0.8484 MB / 388.7 MB, free: 8.164 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.01388, allocations: 224.5 kB / 388.9 MB, free: 7.895 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.479e-05/0.01398, allocations: 74.66 kB / 389 MB, free: 7.805 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.01399, allocations: 4 kB / 389 MB, free: 7.801 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000228/0.01422, allocations: 196.7 kB / 389.2 MB, free: 7.578 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.362e-06/0.01422, allocations: 0 / 389.2 MB, free: 7.578 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005062/0.01473, allocations: 290 kB / 389.5 MB, free: 7.289 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.01478, allocations: 140.5 kB / 389.6 MB, free: 7.121 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005464/0.01533, allocations: 0.5414 MB / 390.2 MB, free: 6.562 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.01536, allocations: 33.7 kB / 390.2 MB, free: 6.523 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.01557, allocations: 299.2 kB / 390.5 MB, free: 6.227 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.966e-05/0.01564, allocations: 75.44 kB / 390.6 MB, free: 6.152 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.239e-05/0.01573, allocations: 67.3 kB / 390.6 MB, free: 6.078 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002129/0.01594, allocations: 0.5468 MB / 391.2 MB, free: 5.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.992e-05/0.01601, allocations: 27.97 kB / 391.2 MB, free: 5.492 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.01619, allocations: 254.9 kB / 391.4 MB, free: 5.168 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.0164, allocations: 165.3 kB / 391.6 MB, free: 4.973 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.0164, allocations: 0 / 391.6 MB, free: 4.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003548/0.01676, allocations: 233.3 kB / 391.8 MB, free: 4.738 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.01677, allocations: 8.125 kB / 391.8 MB, free: 4.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.01677, allocations: 4 kB / 391.8 MB, free: 4.727 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.659e-06/0.01678, allocations: 3.984 kB / 391.9 MB, free: 4.723 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.01698, allocations: 55.91 kB / 391.9 MB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.01698, allocations: 4 kB / 391.9 MB, free: 4.664 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.01712, allocations: 27.84 kB / 391.9 MB, free: 4.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.885e-05/0.01714, allocations: 11.98 kB / 392 MB, free: 4.625 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.0001464/0.01728, allocations: 192.4 kB / 392.1 MB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.963e-05/0.01737, allocations: 63.59 kB / 392.2 MB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00043/0.0178, allocations: 277.7 kB / 392.5 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.299e-06/0.01781, allocations: 4 kB / 392.5 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.01781, allocations: 0 / 392.5 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.01782, allocations: 7.984 kB / 392.5 MB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.01812, allocations: 260.9 kB / 392.7 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01812, allocations: 0 / 392.7 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.01823, allocations: 35.86 kB / 392.8 MB, free: 3.758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01823, allocations: 0 / 392.8 MB, free: 3.758 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.01826, allocations: 20.17 kB / 392.8 MB, free: 3.738 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.01826, allocations: 4 kB / 392.8 MB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.01826, allocations: 0 / 392.8 MB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/0.01869, allocations: 322.9 kB / 393.1 MB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.867e-05/0.01876, allocations: 51.61 kB / 393.2 MB, free: 3.332 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.217e-05/0.01881, allocations: 11.98 kB / 393.2 MB, free: 3.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.01892, allocations: 12 kB / 393.2 MB, free: 3.309 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/0.019, allocations: 43.92 kB / 393.2 MB, free: 3.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002865/0.01929, allocations: 11.98 kB / 393.2 MB, free: 3.254 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003227/0.01961, allocations: 358.7 kB / 393.6 MB, free: 2.906 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01961, allocations: 0 / 393.6 MB, free: 2.906 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003458/0.01996, allocations: 99.86 kB / 393.7 MB, free: 2.809 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.0007896/0.02075, allocations: 440.2 kB / 394.1 MB, free: 2.484 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001702/0.02092, allocations: 135.5 kB / 394.3 MB, free: 2.348 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.02092, allocations: 0 / 394.3 MB, free: 2.348 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.17e-05/0.02101, allocations: 95.48 kB / 394.3 MB, free: 2.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.02137, allocations: 165.4 kB / 394.5 MB, free: 2.102 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006777/0.02205, allocations: 0.7185 MB / 395.2 MB, free: 1.336 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.393e-05/0.02212, allocations: 129.6 kB / 395.4 MB, free: 1.188 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.02225, allocations: 67.31 kB / 395.4 MB, free: 1.121 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.02245, allocations: 182.1 kB / 395.6 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.02245, allocations: 0 / 395.6 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of Templates: time 0.009492/0.03194, allocations: 8.423 MB / 404 MB, free: 8.609 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.019552015233785]