Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001129/0.00113, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 227.4 MB / 246.3 MB, free: 9.082 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2387/0.2387, allocations: 46.11 MB / 343.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 74.91 kB / 416.8 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1507, allocations: 62.46 MB / 479.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003578/0.1543, allocations: 1.662 MB / 481 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1555, allocations: 0.5612 MB / 481.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.152e-05/0.1556, allocations: 0 / 481.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006112/0.1562, allocations: 455.1 kB / 482 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004675/0.1568, allocations: 279.5 kB / 482.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005574/0.1573, allocations: 155.2 kB / 482.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.1576, allocations: 167.7 kB / 482.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1577, allocations: 8 kB / 482.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.1579, allocations: 111.7 kB / 482.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.1582, allocations: 203.6 kB / 482.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.1582, allocations: 4 kB / 482.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.393e-05/0.1583, allocations: 19.98 kB / 482.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.1584, allocations: 83.62 kB / 483 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.012e-05/0.1585, allocations: 99 kB / 483.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.1588, allocations: 243 kB / 483.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1588, allocations: 0 / 483.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1588, allocations: 0 / 483.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.1588, allocations: 0 / 483.3 MB, free: 1.688 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007689/0.1596, allocations: 0.63 MB / 483.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.1597, allocations: 8.875 kB / 484 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.94e-05/0.1598, allocations: 44.47 kB / 484 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.1601, allocations: 296.1 kB / 484.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.1601, allocations: 8.359 kB / 484.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.1602, allocations: 8.312 kB / 484.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.1603, allocations: 49.81 kB / 484.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1603, allocations: 0 / 484.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.1604, allocations: 0 / 484.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1604, allocations: 0 / 484.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.715e-05/0.1605, allocations: 31.97 kB / 484.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000575/0.1611, allocations: 384.7 kB / 484.8 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.528e-05/0.1612, allocations: 42.44 kB / 484.8 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.691e-05/0.1612, allocations: 12.92 kB / 484.8 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.1613, allocations: 3.984 kB / 484.8 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.717e-05/0.1613, allocations: 38.61 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.502e-06/0.1613, allocations: 0 / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.000334/0.1617, allocations: 101 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.1617, allocations: 59.41 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009059/0.1626, allocations: 0.866 MB / 485.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.1627, allocations: 25.7 kB / 485.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.1629, allocations: 220.1 kB / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.1629, allocations: 15.97 kB / 486.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.163, allocations: 9.719 kB / 486.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1631, allocations: 370.7 kB / 486.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.029e-05/0.1632, allocations: 7.984 kB / 486.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.69e-05/0.1632, allocations: 8 kB / 486.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.091e-05/0.1633, allocations: 28.84 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1633, allocations: 4.062 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001827/0.1635, allocations: 101.1 kB / 486.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1635, allocations: 4 kB / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1636, allocations: 0 / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.1636, allocations: 0 / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.577e-05/0.1637, allocations: 4 kB / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.1637, allocations: 7.969 kB / 486.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.507e-05/0.1637, allocations: 7.906 kB / 486.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.1638, allocations: 0 / 486.7 MB, free: 14.1 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.000219/0.164, allocations: 217.7 kB / 486.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.069e-05/0.1641, allocations: 39.53 kB / 486.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.1643, allocations: 108.7 kB / 487 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1643, allocations: 0 / 487 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1643, allocations: 0 / 487 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1643, allocations: 0 / 487 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.1646, allocations: 293.4 kB / 487.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1646, allocations: 0 / 487.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.1647, allocations: 12.02 kB / 487.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1647, allocations: 0 / 487.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1647, allocations: 0 / 487.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1647, allocations: 3.938 kB / 487.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1647, allocations: 0 / 487.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.165, allocations: 190.9 kB / 487.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.888e-05/0.1651, allocations: 116.5 kB / 487.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.1651, allocations: 4.031 kB / 487.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.232e-05/0.1652, allocations: 0 / 487.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.1652, allocations: 0 / 487.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.1652, allocations: 4 kB / 487.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006286/0.1658, allocations: 0.655 MB / 488.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1659, allocations: 0 / 488.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.1661, allocations: 20 kB / 488.3 MB, free: 12.36 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0008603/0.167, allocations: 360.2 kB / 488.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.1672, allocations: 19.98 kB / 488.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1672, allocations: 0 / 488.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.851e-05/0.1672, allocations: 11.98 kB / 488.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.1676, allocations: 30.42 kB / 488.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.1688, allocations: 0.8593 MB / 489.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004529/0.1693, allocations: 0.8223 MB / 490.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.564e-05/0.1694, allocations: 11.98 kB / 490.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.1694, allocations: 15.44 kB / 490.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of SimCode: time 3.046e-06/0.1694, allocations: 0 / 490.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of Templates: time 0.005417/0.1748, allocations: 1.229 MB / 491.7 MB, free: 9.062 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches