Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001994/0.001994, allocations: 106.8 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002419/0.00242, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2285/0.2285, allocations: 46.11 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 79.58 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1597, allocations: 62.44 MB / 479.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003513/0.1633, allocations: 1.675 MB / 481.2 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.1645, allocations: 0.5417 MB / 481.7 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.639e-05/0.1645, allocations: 0 / 481.7 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003405/0.1649, allocations: 95.8 kB / 481.8 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.1652, allocations: 95.72 kB / 481.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.1656, allocations: 99.81 kB / 482 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.1658, allocations: 79.81 kB / 482.1 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.1659, allocations: 27.92 kB / 482.1 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.428e-05/0.166, allocations: 39.89 kB / 482.1 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.1661, allocations: 51.83 kB / 482.2 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.1661, allocations: 4 kB / 482.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.1662, allocations: 47.97 kB / 482.2 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.268e-05/0.1663, allocations: 19.92 kB / 482.3 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.419e-05/0.1664, allocations: 39.62 kB / 482.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.1666, allocations: 107.7 kB / 482.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1666, allocations: 4 kB / 482.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1666, allocations: 0 / 482.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1666, allocations: 0 / 482.4 MB, free: 2.684 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006267/0.1673, allocations: 427.1 kB / 482.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.1673, allocations: 8.031 kB / 482.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.1674, allocations: 12.75 kB / 482.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.1676, allocations: 208.6 kB / 483 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.1676, allocations: 384 / 483 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.1677, allocations: 4.375 kB / 483 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.1679, allocations: 65.73 kB / 483.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.1679, allocations: 0 / 483.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.1679, allocations: 7.984 kB / 483.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1679, allocations: 0 / 483.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.168, allocations: 23.98 kB / 483.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.1685, allocations: 304.7 kB / 483.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.1687, allocations: 54.5 kB / 483.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/0.1687, allocations: 20.94 kB / 483.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.1688, allocations: 0 / 483.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.1688, allocations: 34.56 kB / 483.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.1688, allocations: 0 / 483.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009807/0.1698, allocations: 248.9 kB / 483.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.1699, allocations: 51.41 kB / 483.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003381/0.1703, allocations: 230.6 kB / 484.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.1703, allocations: 29.7 kB / 484.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.1704, allocations: 108.1 kB / 484.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.1704, allocations: 31.55 kB / 484.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/0.1705, allocations: 21.72 kB / 484.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.1707, allocations: 322.8 kB / 484.6 MB, free: 308 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.645e-05/0.1708, allocations: 39.84 kB / 484.6 MB, free: 268 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.099e-05/0.1708, allocations: 27.98 kB / 484.6 MB, free: 240 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.171, allocations: 76.88 kB / 484.7 MB, free: 160 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.171, allocations: 7.938 kB / 484.7 MB, free: 152 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003446/0.1714, allocations: 109.6 kB / 484.8 MB, free: 36 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1714, allocations: 4 kB / 484.8 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1714, allocations: 0 / 484.8 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1714, allocations: 0 / 484.8 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.1716, allocations: 23.92 kB / 484.9 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1716, allocations: 0 / 484.9 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.758e-05/0.1717, allocations: 12.12 kB / 484.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.1717, allocations: 4 kB / 484.9 MB, free: 15.99 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 (8): * Single equations (assignments): 8 * 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.0002388/0.1719, allocations: 129.8 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.172, allocations: 15.81 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.1723, allocations: 131.3 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.1723, allocations: 3.984 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1723, allocations: 0 / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1723, allocations: 3.938 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000565/0.1729, allocations: 435.1 kB / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1729, allocations: 0 / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.812e-05/0.173, allocations: 15.98 kB / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.173, allocations: 7.938 kB / 485.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.173, allocations: 4 kB / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.173, allocations: 0 / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.173, allocations: 4.031 kB / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.1733, allocations: 216.2 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.1733, allocations: 84.92 kB / 485.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.1734, allocations: 15.88 kB / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.1734, allocations: 4 kB / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.1735, allocations: 7.984 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.1735, allocations: 8 kB / 485.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.1737, allocations: 176.3 kB / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1737, allocations: 0 / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.1739, allocations: 23.98 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001175/0.1751, allocations: 439.3 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003246/0.1755, allocations: 79.88 kB / 486.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.1755, allocations: 0 / 486.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.1756, allocations: 39.97 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.1761, allocations: 23.98 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006879/0.1768, allocations: 322.8 kB / 487 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.1772, allocations: 0.7176 MB / 487.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.1774, allocations: 20.95 kB / 487.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.314e-05/0.1774, allocations: 19.42 kB / 487.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1774, allocations: 0 / 487.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of Templates: time 0.004757/0.1822, allocations: 1.362 MB / 489.1 MB, free: 11.72 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches