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.001321/0.001321, allocations: 111 kB / 18.46 MB, free: 4.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001533/0.001534, allocations: 211.9 kB / 19.42 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2004/0.2004, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 79.86 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3287, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003391/0.3321, allocations: 2.325 MB / 0.5339 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002678/0.3348, allocations: 1.691 MB / 0.5356 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.335, allocations: 7.344 kB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004236/0.3354, allocations: 137 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006434/0.3361, allocations: 297.5 kB / 0.536 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.3374, allocations: 0.5305 MB / 0.5365 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006359/0.3381, allocations: 0.5645 MB / 0.5371 GB, free: 9.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.3383, allocations: 73.97 kB / 0.5371 GB, free: 9.387 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002872/0.3386, allocations: 229.5 kB / 0.5374 GB, free: 9.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002712/0.3388, allocations: 232.5 kB / 0.5376 GB, free: 9.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.135e-05/0.3389, allocations: 26.44 kB / 0.5376 GB, free: 9.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000344/0.3393, allocations: 181.1 kB / 0.5378 GB, free: 9.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.3394, allocations: 128.9 kB / 0.5379 GB, free: 8.949 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001928/0.3396, allocations: 219.3 kB / 0.5381 GB, free: 8.777 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006557/0.3403, allocations: 0.5992 MB / 0.5387 GB, free: 8.367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3403, allocations: 0 / 0.5387 GB, free: 8.367 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3403, allocations: 1.188 kB / 0.5387 GB, free: 8.367 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.3403, allocations: 0 / 0.5387 GB, free: 8.367 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.00118/0.3415, allocations: 0.9334 MB / 0.5396 GB, free: 7.504 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3416, allocations: 8.219 kB / 0.5396 GB, free: 7.504 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.3417, allocations: 67.94 kB / 0.5397 GB, free: 7.465 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006815/0.3424, allocations: 483.3 kB / 0.5401 GB, free: 7.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.3424, allocations: 12.17 kB / 0.5402 GB, free: 7.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.3424, allocations: 16.84 kB / 0.5402 GB, free: 7.047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004767/0.3429, allocations: 265.5 kB / 0.5404 GB, free: 6.816 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3429, allocations: 0 / 0.5404 GB, free: 6.816 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.343, allocations: 6.75 kB / 0.5404 GB, free: 6.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.343, allocations: 4.25 kB / 0.5404 GB, free: 6.812 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003041/0.3433, allocations: 109.2 kB / 0.5405 GB, free: 6.758 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.3443, allocations: 0.8843 MB / 0.5414 GB, free: 5.961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006481/0.345, allocations: 294.8 kB / 0.5417 GB, free: 5.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.3452, allocations: 108.1 kB / 0.5418 GB, free: 5.676 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.3453, allocations: 3.156 kB / 0.5418 GB, free: 5.676 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003986/0.3457, allocations: 219.1 kB / 0.542 GB, free: 5.504 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 3.316e-06/0.3457, allocations: 1.25 kB / 0.542 GB, free: 5.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009771/0.3467, allocations: 412.6 kB / 0.5424 GB, free: 5.289 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001478/0.3468, allocations: 345.5 kB / 0.5427 GB, free: 4.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007776/0.3476, allocations: 0.663 MB / 0.5434 GB, free: 4.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.3477, allocations: 41.19 kB / 0.5434 GB, free: 4.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.3479, allocations: 241 kB / 0.5436 GB, free: 4.266 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.566e-05/0.3479, allocations: 69.44 kB / 0.5437 GB, free: 4.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.3481, allocations: 61.03 kB / 0.5438 GB, free: 4.168 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3482, allocations: 366.4 kB / 0.5441 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.3484, allocations: 80.86 kB / 0.5442 GB, free: 3.777 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.3488, allocations: 248.2 kB / 0.5444 GB, free: 3.551 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004613/0.3492, allocations: 231.7 kB / 0.5446 GB, free: 3.391 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3492, allocations: 0.9688 kB / 0.5447 GB, free: 3.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006409/0.3499, allocations: 322.5 kB / 0.545 GB, free: 3.215 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3499, allocations: 10.47 kB / 0.545 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3499, allocations: 1.406 kB / 0.545 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.35, allocations: 3.812 kB / 0.545 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.3502, allocations: 60.75 kB / 0.545 GB, free: 3.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.3502, allocations: 2.969 kB / 0.545 GB, free: 3.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.3505, allocations: 32.25 kB / 0.5451 GB, free: 3.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.3505, allocations: 16.19 kB / 0.5451 GB, free: 3.164 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.0002437/0.3507, allocations: 221.9 kB / 0.5453 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.406e-05/0.3508, allocations: 58.09 kB / 0.5453 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.351, allocations: 56.22 kB / 0.5454 GB, free: 2.926 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.351, allocations: 12.98 kB / 0.5454 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.351, allocations: 1.406 kB / 0.5454 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.3511, allocations: 131.6 kB / 0.5455 GB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.287e-05/0.3512, allocations: 12.17 kB / 0.5456 GB, free: 2.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.3514, allocations: 20.17 kB / 0.5456 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.3515, allocations: 38.67 kB / 0.5456 GB, free: 2.742 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007904/0.3523, allocations: 0.5976 MB / 0.5462 GB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000811/0.3531, allocations: 0.7279 MB / 0.5469 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003211/0.3534, allocations: 167.8 kB / 0.5471 GB, free: 1.391 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005412/0.354, allocations: 490.8 kB / 0.5475 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of Backend: time 4.31e-07/0.354, allocations: 0 / 0.5475 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00197/0.356, allocations: 0.6098 MB / 0.5481 GB, free: 452 kB / 398.1 MB Notification: Performance of SimCode: time 0.001555/0.3575, allocations: 1.286 MB / 0.5494 GB, free: 15.12 MB / 414.1 MB Notification: Performance of Templates: time 0.01546/0.373, allocations: 8.584 MB / 0.5578 GB, free: 6.586 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches