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.001329/0.001329, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 227.4 MB / 247.5 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2259/0.2259, allocations: 46.11 MB / 344.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003691/0.003691, allocations: 82.42 kB / 418.3 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1376, allocations: 62.45 MB / 480.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.00403/0.1417, allocations: 2.329 MB / 483.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002957/0.1447, allocations: 1.692 MB / 484.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001956/0.1449, allocations: 7.938 kB / 484.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004267/0.1454, allocations: 143.2 kB / 484.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000607/0.146, allocations: 278.8 kB / 485.2 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.1474, allocations: 0.5363 MB / 485.7 MB, free: 272 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006598/0.148, allocations: 0.561 MB / 486.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.1482, allocations: 77.06 kB / 486.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002738/0.1485, allocations: 227.1 kB / 486.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.1488, allocations: 223 kB / 486.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.445e-05/0.1489, allocations: 28 kB / 486.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003029/0.1492, allocations: 151.8 kB / 487 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.1494, allocations: 139.4 kB / 487.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.1496, allocations: 206.6 kB / 487.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006761/0.1503, allocations: 0.5883 MB / 487.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1503, allocations: 0 / 487.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1503, allocations: 0 / 487.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1503, allocations: 0 / 487.9 MB, free: 14.08 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.00134/0.1517, allocations: 0.9175 MB / 488.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1517, allocations: 8.031 kB / 488.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.1519, allocations: 56.28 kB / 488.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006455/0.1525, allocations: 476 kB / 489.4 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.1525, allocations: 16.61 kB / 489.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.1526, allocations: 20.12 kB / 489.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005045/0.1531, allocations: 260.9 kB / 489.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1531, allocations: 3.938 kB / 489.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.1532, allocations: 4 kB / 489.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.1532, allocations: 4 kB / 489.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.1535, allocations: 107.9 kB / 489.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.1546, allocations: 0.8912 MB / 490.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006795/0.1553, allocations: 290.6 kB / 490.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.1556, allocations: 123.3 kB / 491.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.1556, allocations: 0 / 491.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005097/0.1561, allocations: 238.5 kB / 491.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.553e-06/0.1561, allocations: 0 / 491.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.00102/0.1572, allocations: 396.7 kB / 491.7 MB, free: 10.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002079/0.1574, allocations: 346.1 kB / 492 MB, free: 9.594 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008076/0.1582, allocations: 0.6631 MB / 492.7 MB, free: 8.922 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.1583, allocations: 41.7 kB / 492.7 MB, free: 8.875 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.1585, allocations: 236.5 kB / 493 MB, free: 8.641 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.033e-05/0.1586, allocations: 67.16 kB / 493 MB, free: 8.574 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.1587, allocations: 57.7 kB / 493.1 MB, free: 8.512 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.1589, allocations: 366.8 kB / 493.4 MB, free: 8.145 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.1591, allocations: 91.83 kB / 493.5 MB, free: 8.055 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.1595, allocations: 241 kB / 493.8 MB, free: 7.758 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004729/0.1599, allocations: 231.8 kB / 494 MB, free: 7.508 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1599, allocations: 0 / 494 MB, free: 7.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006357/0.1606, allocations: 316.8 kB / 494.3 MB, free: 7.191 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.1606, allocations: 8 kB / 494.3 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1606, allocations: 0 / 494.3 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.1607, allocations: 7.938 kB / 494.3 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/0.1609, allocations: 59.89 kB / 494.4 MB, free: 7.117 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.161, allocations: 4 kB / 494.4 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.1612, allocations: 31.77 kB / 494.4 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.1612, allocations: 16.12 kB / 494.4 MB, free: 7.066 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.0002731/0.1615, allocations: 226 kB / 494.6 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-05/0.1616, allocations: 55.34 kB / 494.7 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.1617, allocations: 56.25 kB / 494.7 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.1617, allocations: 7.938 kB / 494.8 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.1617, allocations: 0 / 494.8 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1617, allocations: 0 / 494.8 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004731/0.1622, allocations: 429.2 kB / 495.2 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.1622, allocations: 0 / 495.2 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.1624, allocations: 35.92 kB / 495.2 MB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1624, allocations: 0 / 495.2 MB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.1624, allocations: 7.984 kB / 495.2 MB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.1624, allocations: 7.938 kB / 495.2 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1624, allocations: 0 / 495.2 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007026/0.1631, allocations: 366.7 kB / 495.6 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.1633, allocations: 128.5 kB / 495.7 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.276e-05/0.1633, allocations: 11.98 kB / 495.7 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.1635, allocations: 19.92 kB / 495.7 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.1636, allocations: 31.97 kB / 495.8 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/0.1637, allocations: 15.98 kB / 495.8 MB, free: 5.586 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006245/0.1643, allocations: 498.7 kB / 496.3 MB, free: 5.102 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1643, allocations: 4 kB / 496.3 MB, free: 5.098 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004784/0.1648, allocations: 95.94 kB / 496.4 MB, free: 5.004 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.001641/0.1664, allocations: 454.2 kB / 496.8 MB, free: 4.688 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006541/0.1671, allocations: 238.7 kB / 497 MB, free: 4.457 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.1671, allocations: 4 kB / 497 MB, free: 4.453 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003049/0.1674, allocations: 128.9 kB / 497.2 MB, free: 4.328 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007183/0.1682, allocations: 146.9 kB / 497.3 MB, free: 4.195 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.1697, allocations: 0.8533 MB / 498.2 MB, free: 3.293 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/0.1702, allocations: 0.8545 MB / 499 MB, free: 2.406 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.1703, allocations: 59.41 kB / 499.1 MB, free: 2.348 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1704, allocations: 0 / 499.1 MB, free: 2.348 MB / 366.1 MB Notification: Performance of Templates: time 0.01251/0.1829, allocations: 7.268 MB / 0.4945 GB, free: 11.11 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/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