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.001769/0.001769, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002305/0.002305, allocations: 209.5 kB / 23.72 MB, free: 4.391 MB / 14.72 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.677/1.677, allocations: 230.5 MB / 257.4 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] 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.3035/0.3035, allocations: 46.94 MB / 360.8 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002427/0.002427, allocations: 76.2 kB / 0.4966 GB, free: 7.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5385/0.5409, allocations: 66.08 MB / 0.5612 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004106/0.545, allocations: 2.199 MB / 0.5633 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003452/0.5485, allocations: 1.633 MB / 0.5649 GB, free: 244 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.5486, allocations: 7.938 kB / 0.5649 GB, free: 236 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004923/0.5491, allocations: 139.2 kB / 0.565 GB, free: 96 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007211/0.5498, allocations: 294.8 kB / 0.5653 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.5512, allocations: 0.5404 MB / 0.5659 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007305/0.5519, allocations: 0.5726 MB / 0.5664 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.5521, allocations: 45.25 kB / 0.5665 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000314/0.5524, allocations: 235 kB / 0.5667 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003284/0.5527, allocations: 242.9 kB / 0.5669 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.367e-05/0.5528, allocations: 28 kB / 0.5669 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000413/0.5532, allocations: 191.8 kB / 0.5671 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.5534, allocations: 143.4 kB / 0.5673 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.5535, allocations: 155 kB / 0.5674 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007677/0.5543, allocations: 0.5979 MB / 0.568 GB, free: 13.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5543, allocations: 0 / 0.568 GB, free: 13.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5543, allocations: 4 kB / 0.568 GB, free: 13.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.5543, allocations: 0 / 0.568 GB, free: 13.07 MB / 414.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.001351/0.5557, allocations: 0.8574 MB / 0.5688 GB, free: 12.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.5557, allocations: 11.97 kB / 0.5688 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.5558, allocations: 56.56 kB / 0.5689 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007106/0.5565, allocations: 409.2 kB / 0.5693 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.5566, allocations: 20.59 kB / 0.5693 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.5566, allocations: 12.38 kB / 0.5693 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005193/0.5571, allocations: 352.8 kB / 0.5697 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.5571, allocations: 0 / 0.5697 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.5571, allocations: 12 kB / 0.5697 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.5572, allocations: 0 / 0.5697 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003477/0.5575, allocations: 123.8 kB / 0.5698 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.5587, allocations: 0.7857 MB / 0.5706 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006764/0.5593, allocations: 290.5 kB / 0.5708 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/0.5596, allocations: 111.4 kB / 0.5709 GB, free: 9.832 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.5596, allocations: 11.94 kB / 0.5709 GB, free: 9.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004146/0.56, allocations: 222.6 kB / 0.5712 GB, free: 9.578 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.422e-06/0.56, allocations: 0 / 0.5712 GB, free: 9.578 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009872/0.561, allocations: 422 kB / 0.5716 GB, free: 9.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/0.5611, allocations: 247.2 kB / 0.5718 GB, free: 8.863 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008797/0.562, allocations: 0.6786 MB / 0.5725 GB, free: 8.172 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.724e-05/0.5621, allocations: 33.7 kB / 0.5725 GB, free: 8.133 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.5623, allocations: 236.5 kB / 0.5727 GB, free: 7.898 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.231e-05/0.5624, allocations: 63.56 kB / 0.5728 GB, free: 7.836 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.966e-05/0.5625, allocations: 65.67 kB / 0.5728 GB, free: 7.766 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.5627, allocations: 374.7 kB / 0.5732 GB, free: 7.391 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.5629, allocations: 83.95 kB / 0.5733 GB, free: 7.309 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004511/0.5633, allocations: 427.8 kB / 0.5737 GB, free: 6.793 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004738/0.5638, allocations: 242.7 kB / 0.5739 GB, free: 6.531 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5638, allocations: 0 / 0.5739 GB, free: 6.531 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006342/0.5645, allocations: 337.2 kB / 0.5742 GB, free: 6.195 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.5645, allocations: 6.344 kB / 0.5742 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.5645, allocations: 8.125 kB / 0.5743 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.5645, allocations: 4 kB / 0.5743 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.5647, allocations: 55.89 kB / 0.5743 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.5647, allocations: 4 kB / 0.5743 GB, free: 6.121 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.5649, allocations: 27.81 kB / 0.5743 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.565, allocations: 19.94 kB / 0.5744 GB, free: 6.074 MB / 414.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.0002396/0.5652, allocations: 213.7 kB / 0.5746 GB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.913e-05/0.5653, allocations: 59.62 kB / 0.5746 GB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007816/0.5661, allocations: 381.7 kB / 0.575 GB, free: 5.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.5661, allocations: 4 kB / 0.575 GB, free: 5.406 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5661, allocations: 3.938 kB / 0.575 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.5661, allocations: 3.938 kB / 0.575 GB, free: 5.398 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003736/0.5665, allocations: 325 kB / 0.5753 GB, free: 5.051 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.5665, allocations: 0 / 0.5753 GB, free: 5.051 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.5666, allocations: 31.92 kB / 0.5753 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.5666, allocations: 4 kB / 0.5753 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.5667, allocations: 15.98 kB / 0.5754 GB, free: 5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.5667, allocations: 4.125 kB / 0.5754 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.5667, allocations: 4 kB / 0.5754 GB, free: 4.992 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007106/0.5674, allocations: 399.1 kB / 0.5757 GB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.5675, allocations: 63.53 kB / 0.5758 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.207e-05/0.5675, allocations: 11.98 kB / 0.5758 GB, free: 4.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.5677, allocations: 15.98 kB / 0.5758 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.5678, allocations: 43.89 kB / 0.5759 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/0.5678, allocations: 11.98 kB / 0.5759 GB, free: 4.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006546/0.5685, allocations: 0.491 MB / 0.5764 GB, free: 3.941 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5685, allocations: 0 / 0.5764 GB, free: 3.941 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004092/0.5689, allocations: 103.8 kB / 0.5765 GB, free: 3.84 MB / 414.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.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.001724/0.5706, allocations: 469.9 kB / 0.5769 GB, free: 3.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006561/0.5713, allocations: 239.7 kB / 0.5771 GB, free: 3.285 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5713, allocations: 256 / 0.5771 GB, free: 3.285 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003614/0.5716, allocations: 183.8 kB / 0.5773 GB, free: 3.105 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007041/0.5724, allocations: 154 kB / 0.5775 GB, free: 2.969 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.5737, allocations: 0.8296 MB / 0.5783 GB, free: 2.102 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.574, allocations: 254 kB / 0.5785 GB, free: 1.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002573/0.5743, allocations: 95.89 kB / 0.5786 GB, free: 1.727 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.5744, allocations: 59.41 kB / 0.5787 GB, free: 1.668 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5744, allocations: 4 kB / 0.5787 GB, free: 1.664 MB / 414.1 MB Notification: Performance of Templates: time 0.01847/0.5929, allocations: 8.354 MB / 0.5868 GB, free: 9.383 MB / 430.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.9943074602633715]