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.0008434/0.0008431, allocations: 96.92 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001005/0.001005, allocations: 202.5 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2185/0.2185, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000272/0.000272, allocations: 8.375 kB / 419.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1205, allocations: 63.57 MB / 483.1 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002536/0.123, allocations: 2.002 MB / 485.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002782/0.1258, allocations: 1.653 MB / 486.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.126, allocations: 7.938 kB / 486.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004444/0.1265, allocations: 123.5 kB / 486.9 MB, free: 384 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005256/0.127, allocations: 251.1 kB / 487.1 MB, free: 132 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.1282, allocations: 493.5 kB / 487.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005614/0.1288, allocations: 0.5258 MB / 488.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.129, allocations: 73.06 kB / 488.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.1292, allocations: 195 kB / 488.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.1295, allocations: 211 kB / 488.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.839e-05/0.1295, allocations: 8 kB / 488.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002753/0.1298, allocations: 131.8 kB / 488.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.13, allocations: 115.5 kB / 488.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002235/0.1302, allocations: 208.4 kB / 489 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006936/0.1309, allocations: 0.5724 MB / 489.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.131, allocations: 4 kB / 489.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.131, allocations: 0 / 489.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.131, allocations: 0 / 489.6 MB, free: 13.62 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.001334/0.1323, allocations: 0.8205 MB / 490.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.1324, allocations: 8.031 kB / 490.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.943e-05/0.1325, allocations: 60.28 kB / 490.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006845/0.1332, allocations: 479.9 kB / 491 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.1332, allocations: 12.61 kB / 491 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.1333, allocations: 16.12 kB / 491 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004775/0.1338, allocations: 274.7 kB / 491.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1338, allocations: 3.984 kB / 491.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.1338, allocations: 4 kB / 491.3 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.1338, allocations: 4 kB / 491.3 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002991/0.1341, allocations: 111.8 kB / 491.4 MB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.1353, allocations: 0.8835 MB / 492.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000683/0.136, allocations: 294.5 kB / 492.6 MB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.1362, allocations: 107.4 kB / 492.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.125e-05/0.1363, allocations: 4 kB / 492.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005536/0.1369, allocations: 226.5 kB / 492.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 2.515e-06/0.1369, allocations: 0 / 492.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001117/0.138, allocations: 412.7 kB / 493.3 MB, free: 9.645 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002474/0.1383, allocations: 342.1 kB / 493.6 MB, free: 9.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009167/0.1392, allocations: 0.6709 MB / 494.3 MB, free: 8.551 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/0.1392, allocations: 33.7 kB / 494.3 MB, free: 8.512 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.1395, allocations: 236.5 kB / 494.6 MB, free: 8.277 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.856e-05/0.1396, allocations: 59.17 kB / 494.6 MB, free: 8.219 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/0.1396, allocations: 33.7 kB / 494.6 MB, free: 8.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002137/0.1399, allocations: 370.7 kB / 495 MB, free: 7.809 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.1401, allocations: 87.88 kB / 495.1 MB, free: 7.723 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003595/0.1404, allocations: 241.6 kB / 495.3 MB, free: 7.426 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004538/0.1409, allocations: 231.7 kB / 495.6 MB, free: 7.176 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1409, allocations: 3.938 kB / 495.6 MB, free: 7.172 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006094/0.1415, allocations: 320.8 kB / 495.9 MB, free: 6.852 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.1416, allocations: 8 kB / 495.9 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.1416, allocations: 0 / 495.9 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.1416, allocations: 7.938 kB / 495.9 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.1419, allocations: 55.91 kB / 495.9 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.1419, allocations: 4 kB / 495.9 MB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.1421, allocations: 39.89 kB / 496 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.1422, allocations: 19.97 kB / 496 MB, free: 6.719 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.0002466/0.1424, allocations: 213.8 kB / 496.2 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.301e-05/0.1425, allocations: 55.34 kB / 496.3 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.1426, allocations: 64.22 kB / 496.3 MB, free: 6.379 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.1426, allocations: 3.938 kB / 496.3 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.1426, allocations: 4 kB / 496.3 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1426, allocations: 0 / 496.3 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003912/0.143, allocations: 425.2 kB / 496.8 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.143, allocations: 256 / 496.8 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.1432, allocations: 31.91 kB / 496.8 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.1432, allocations: 8 kB / 496.8 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.1432, allocations: 8 kB / 496.8 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.1432, allocations: 3.938 kB / 496.8 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1432, allocations: 4 kB / 496.8 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006178/0.1438, allocations: 362.8 kB / 497.2 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.144, allocations: 144.4 kB / 497.3 MB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.515e-05/0.1441, allocations: 12 kB / 497.3 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.1443, allocations: 19.92 kB / 497.3 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.1444, allocations: 39.89 kB / 497.4 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.426e-05/0.1445, allocations: 19.98 kB / 497.4 MB, free: 5.219 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005631/0.145, allocations: 494.8 kB / 497.9 MB, free: 4.738 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.145, allocations: 0 / 497.9 MB, free: 4.738 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004236/0.1455, allocations: 95.94 kB / 498 MB, free: 4.645 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.001084/0.1466, allocations: 458.4 kB / 498.4 MB, free: 4.328 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005407/0.1471, allocations: 227.8 kB / 498.6 MB, free: 4.105 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1471, allocations: 0 / 498.6 MB, free: 4.105 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003389/0.1475, allocations: 167.8 kB / 498.8 MB, free: 3.941 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007586/0.1482, allocations: 143.8 kB / 498.9 MB, free: 3.809 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.1495, allocations: 0.9253 MB / 499.9 MB, free: 2.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.15, allocations: 0.8547 MB / 0.489 GB, free: 1.957 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002437/0.1502, allocations: 91.22 kB / 0.4891 GB, free: 1.867 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.1503, allocations: 51.42 kB / 0.4891 GB, free: 1.816 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1504, allocations: 0 / 0.4891 GB, free: 1.816 MB / 366.1 MB Notification: Performance of Templates: time 0.01249/0.1628, allocations: 7.194 MB / 0.4961 GB, free: 10.66 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