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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001173/0.001173, allocations: 118.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00115/0.00115, allocations: 201.2 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.207/0.207, allocations: 46.11 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 75.89 kB / 481.3 MB, free: 4.121 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4092, allocations: 62.43 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.006025/0.4153, allocations: 2.326 MB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005331/0.4207, allocations: 1.691 MB / 0.5349 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004689/0.4212, allocations: 7.031 kB / 0.5349 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007014/0.4219, allocations: 144.3 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001298/0.4233, allocations: 293.5 kB / 0.5353 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002455/0.4258, allocations: 0.5255 MB / 0.5358 GB, free: 9.805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001209/0.427, allocations: 0.5685 MB / 0.5364 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002958/0.4273, allocations: 74.06 kB / 0.5365 GB, free: 9.418 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005997/0.4279, allocations: 233.5 kB / 0.5367 GB, free: 9.277 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005515/0.4285, allocations: 231.7 kB / 0.5369 GB, free: 9.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.4286, allocations: 27.16 kB / 0.5369 GB, free: 9.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006396/0.4293, allocations: 172.2 kB / 0.5371 GB, free: 9.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002721/0.4296, allocations: 128.9 kB / 0.5372 GB, free: 8.984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004252/0.43, allocations: 211.9 kB / 0.5374 GB, free: 8.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.4313, allocations: 0.6006 MB / 0.538 GB, free: 8.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.4313, allocations: 5.531 kB / 0.538 GB, free: 8.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4313, allocations: 0 / 0.538 GB, free: 8.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.58e-05/0.4313, allocations: 0 / 0.538 GB, free: 8.406 MB / 398.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.002397/0.4337, allocations: 0.9065 MB / 0.5389 GB, free: 7.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.4338, allocations: 9.031 kB / 0.5389 GB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002505/0.4341, allocations: 55.09 kB / 0.539 GB, free: 7.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.4353, allocations: 487.6 kB / 0.5394 GB, free: 7.133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/0.4353, allocations: 11.45 kB / 0.5394 GB, free: 7.129 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.251e-05/0.4354, allocations: 21.58 kB / 0.5395 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007709/0.4362, allocations: 264.6 kB / 0.5397 GB, free: 6.887 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.4362, allocations: 1.281 kB / 0.5397 GB, free: 6.887 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.132e-05/0.4363, allocations: 10.38 kB / 0.5397 GB, free: 6.879 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.4363, allocations: 7.266 kB / 0.5397 GB, free: 6.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005131/0.4368, allocations: 110 kB / 0.5398 GB, free: 6.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.4387, allocations: 0.8834 MB / 0.5407 GB, free: 6.023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.4398, allocations: 295 kB / 0.541 GB, free: 5.812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003863/0.4402, allocations: 104.6 kB / 0.5411 GB, free: 5.742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/0.4403, allocations: 3.531 kB / 0.5411 GB, free: 5.742 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006707/0.4409, allocations: 226.5 kB / 0.5413 GB, free: 5.566 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 2.395e-06/0.441, allocations: 3.938 kB / 0.5413 GB, free: 5.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001674/0.4426, allocations: 407.6 kB / 0.5417 GB, free: 5.352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002171/0.4429, allocations: 346.5 kB / 0.542 GB, free: 4.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.4444, allocations: 0.6696 MB / 0.5427 GB, free: 4.574 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.034e-05/0.4445, allocations: 34.39 kB / 0.5427 GB, free: 4.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/0.4448, allocations: 232.1 kB / 0.5429 GB, free: 4.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.4449, allocations: 66.61 kB / 0.543 GB, free: 4.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.4451, allocations: 63.59 kB / 0.5431 GB, free: 4.238 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.4453, allocations: 366.4 kB / 0.5434 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.4456, allocations: 85.19 kB / 0.5435 GB, free: 3.844 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005414/0.4462, allocations: 240 kB / 0.5437 GB, free: 3.625 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007775/0.447, allocations: 237.2 kB / 0.5439 GB, free: 3.461 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.447, allocations: 1.344 kB / 0.5439 GB, free: 3.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001304/0.4483, allocations: 313.7 kB / 0.5442 GB, free: 3.293 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.4484, allocations: 5.438 kB / 0.5442 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.4484, allocations: 2.438 kB / 0.5442 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.18e-05/0.4484, allocations: 6.625 kB / 0.5443 GB, free: 3.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004226/0.4489, allocations: 57.25 kB / 0.5443 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.4489, allocations: 3.719 kB / 0.5443 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004453/0.4494, allocations: 31.3 kB / 0.5443 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/0.4494, allocations: 13.05 kB / 0.5444 GB, free: 3.25 MB / 398.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.0004617/0.4499, allocations: 222.1 kB / 0.5446 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.4501, allocations: 53.31 kB / 0.5446 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.4503, allocations: 71.92 kB / 0.5447 GB, free: 3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.4503, allocations: 7.469 kB / 0.5447 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.4504, allocations: 5.281 kB / 0.5447 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.4504, allocations: 1.156 kB / 0.5447 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007718/0.4512, allocations: 421.7 kB / 0.5451 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.4512, allocations: 1.438 kB / 0.5451 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.4514, allocations: 30.19 kB / 0.5451 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.956e-06/0.4514, allocations: 2.281 kB / 0.5451 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-05/0.4515, allocations: 8.531 kB / 0.5451 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/0.4515, allocations: 6.219 kB / 0.5451 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.4515, allocations: 1.188 kB / 0.5451 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.4528, allocations: 372.2 kB / 0.5455 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000217/0.453, allocations: 128.5 kB / 0.5456 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.4532, allocations: 12 kB / 0.5456 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.4535, allocations: 19.92 kB / 0.5457 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.4537, allocations: 39.95 kB / 0.5457 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.25e-05/0.4538, allocations: 23.98 kB / 0.5457 GB, free: 2.055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001028/0.4549, allocations: 486.8 kB / 0.5462 GB, free: 1.582 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4549, allocations: 0 / 0.5462 GB, free: 1.582 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008331/0.4557, allocations: 103.9 kB / 0.5463 GB, free: 1.48 MB / 398.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.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 16 * 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.001861/0.4576, allocations: 451 kB / 0.5467 GB, free: 1.172 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.4586, allocations: 239.6 kB / 0.5469 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.4587, allocations: 0 / 0.5469 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005937/0.4593, allocations: 163.8 kB / 0.5471 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.4605, allocations: 154.7 kB / 0.5472 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.4627, allocations: 0.8013 MB / 0.548 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006951/0.4634, allocations: 0.8467 MB / 0.5489 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004108/0.4638, allocations: 95.22 kB / 0.5489 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.464, allocations: 55.41 kB / 0.549 GB, free: 14.78 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4641, allocations: 0 / 0.549 GB, free: 14.78 MB / 414.1 MB Notification: Performance of Templates: time 0.01948/0.4836, allocations: 7.677 MB / 0.5565 GB, free: 7.133 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches