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.001081/0.001082, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001061/0.001061, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2103/0.2103, allocations: 46.11 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 73.67 kB / 417.6 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1054, allocations: 62.45 MB / 480 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003882/0.1093, allocations: 2.318 MB / 482.3 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002894/0.1122, allocations: 1.695 MB / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.1125, allocations: 4 kB / 484 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004312/0.113, allocations: 143.2 kB / 484.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006487/0.1136, allocations: 282.8 kB / 484.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.1149, allocations: 0.5365 MB / 485 MB, free: 316 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006681/0.1156, allocations: 0.561 MB / 485.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.1158, allocations: 73.08 kB / 485.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003121/0.1161, allocations: 227.1 kB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.1164, allocations: 223 kB / 486.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.855e-05/0.1165, allocations: 28 kB / 486.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003026/0.1168, allocations: 155.8 kB / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.117, allocations: 135.4 kB / 486.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.1172, allocations: 206.7 kB / 486.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006284/0.1178, allocations: 0.5882 MB / 487.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1178, allocations: 4 kB / 487.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1178, allocations: 0 / 487.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.1178, allocations: 0 / 487.2 MB, free: 14.12 MB / 366.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.001221/0.1191, allocations: 0.9097 MB / 488.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1191, allocations: 12.03 kB / 488.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.1192, allocations: 52.28 kB / 488.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005957/0.1198, allocations: 484 kB / 488.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.1199, allocations: 12.61 kB / 488.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.1199, allocations: 20.12 kB / 488.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000446/0.1204, allocations: 260.9 kB / 488.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1204, allocations: 4 kB / 488.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.1204, allocations: 8 kB / 488.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1204, allocations: 0 / 488.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/0.1207, allocations: 115.8 kB / 489 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.1218, allocations: 0.8873 MB / 489.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006569/0.1224, allocations: 294.5 kB / 490.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.1227, allocations: 111.4 kB / 490.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.1227, allocations: 8.141 kB / 490.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000468/0.1232, allocations: 230.4 kB / 490.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 2.054e-06/0.1232, allocations: 0 / 490.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009415/0.1242, allocations: 400.7 kB / 490.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.1243, allocations: 346.1 kB / 491.3 MB, free: 9.641 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007392/0.1251, allocations: 0.6592 MB / 491.9 MB, free: 8.973 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.1251, allocations: 37.7 kB / 492 MB, free: 8.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.1253, allocations: 244.4 kB / 492.2 MB, free: 8.688 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.292e-05/0.1254, allocations: 71.09 kB / 492.3 MB, free: 8.617 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.045e-05/0.1255, allocations: 57.7 kB / 492.3 MB, free: 8.555 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1256, allocations: 370.8 kB / 492.7 MB, free: 8.184 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.1258, allocations: 84.89 kB / 492.8 MB, free: 8.102 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.1262, allocations: 241.1 kB / 493 MB, free: 7.805 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004358/0.1266, allocations: 230.7 kB / 493.2 MB, free: 7.555 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1266, allocations: 0 / 493.2 MB, free: 7.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006388/0.1273, allocations: 316.8 kB / 493.5 MB, free: 7.238 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1273, allocations: 10.5 kB / 493.6 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1273, allocations: 0 / 493.6 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1273, allocations: 7.938 kB / 493.6 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.1276, allocations: 63.89 kB / 493.6 MB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.1276, allocations: 0 / 493.6 MB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.1278, allocations: 32.02 kB / 493.7 MB, free: 7.129 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.1278, allocations: 20 kB / 493.7 MB, free: 7.109 MB / 366.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.0002217/0.1281, allocations: 221.8 kB / 493.9 MB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9e-05/0.1282, allocations: 55.34 kB / 493.9 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.652e-05/0.1283, allocations: 56.25 kB / 494 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.1283, allocations: 7.938 kB / 494 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1283, allocations: 0 / 494 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1283, allocations: 7.984 kB / 494 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003828/0.1287, allocations: 421.2 kB / 494.4 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1287, allocations: 0 / 494.4 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.1288, allocations: 27.92 kB / 494.5 MB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1288, allocations: 4 kB / 494.5 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.1289, allocations: 11.98 kB / 494.5 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.1289, allocations: 7.938 kB / 494.5 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1289, allocations: 3.984 kB / 494.5 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006385/0.1295, allocations: 365.8 kB / 494.8 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.901e-05/0.1296, allocations: 132.4 kB / 495 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.237e-05/0.1297, allocations: 11.98 kB / 495 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.1299, allocations: 19.92 kB / 495 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.186e-05/0.13, allocations: 39.97 kB / 495 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.23e-05/0.13, allocations: 11.98 kB / 495 MB, free: 5.625 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005387/0.1306, allocations: 498.7 kB / 495.5 MB, free: 5.141 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1306, allocations: 4 kB / 495.5 MB, free: 5.137 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004022/0.131, allocations: 95.94 kB / 495.6 MB, free: 5.043 MB / 366.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.00104/0.132, allocations: 454.9 kB / 496.1 MB, free: 4.727 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005582/0.1326, allocations: 227.8 kB / 496.3 MB, free: 4.504 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.1326, allocations: 4 kB / 496.3 MB, free: 4.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003401/0.133, allocations: 172 kB / 496.5 MB, free: 4.332 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006566/0.1336, allocations: 142 kB / 496.6 MB, free: 4.203 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.1348, allocations: 0.8166 MB / 497.4 MB, free: 3.344 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.1353, allocations: 0.8506 MB / 498.3 MB, free: 2.461 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002652/0.1355, allocations: 95.22 kB / 498.4 MB, free: 2.363 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.1357, allocations: 51.42 kB / 498.4 MB, free: 2.312 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1357, allocations: 4 kB / 498.4 MB, free: 2.309 MB / 366.1 MB Notification: Performance of Templates: time 0.01324/0.1489, allocations: 7.653 MB / 0.4942 GB, free: 10.7 MB / 382.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