Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009583/0.0009584, allocations: 94.31 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 192.9 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.601/1.601, allocations: 227.7 MB / 246.4 MB, free: 9.801 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2346/0.2346, allocations: 46.19 MB / 344.8 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003556, allocations: 8.219 kB / 418.8 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1581, allocations: 63.57 MB / 482.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.002523/0.1607, allocations: 1.31 MB / 483.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.1621, allocations: 0.4992 MB / 484.2 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.1622, allocations: 4 kB / 484.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.1625, allocations: 71.83 kB / 484.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.1629, allocations: 87.73 kB / 484.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.1633, allocations: 95.81 kB / 484.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.1635, allocations: 71.81 kB / 484.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.1637, allocations: 15.97 kB / 484.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.644e-05/0.1638, allocations: 31.84 kB / 484.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.1639, allocations: 51.83 kB / 484.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.164, allocations: 0 / 484.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.1641, allocations: 39.97 kB / 484.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.45e-05/0.1642, allocations: 19.92 kB / 484.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.409e-05/0.1642, allocations: 41.58 kB / 484.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.1644, allocations: 83.81 kB / 484.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.1644, allocations: 0 / 484.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.1645, allocations: 0 / 484.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.1645, allocations: 0 / 484.8 MB, free: 2.094 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.0006264/0.1651, allocations: 395.3 kB / 485.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.1652, allocations: 12.03 kB / 485.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.1653, allocations: 11.81 kB / 485.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.1656, allocations: 201.4 kB / 485.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.1656, allocations: 0 / 485.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.1657, allocations: 4 kB / 485.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.1658, allocations: 57.66 kB / 485.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1659, allocations: 4 kB / 485.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1659, allocations: 4 kB / 485.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1659, allocations: 0 / 485.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.166, allocations: 31.97 kB / 485.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005194/0.1665, allocations: 308.6 kB / 485.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.1667, allocations: 54.55 kB / 485.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.152e-05/0.1667, allocations: 12.86 kB / 485.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.1668, allocations: 8.078 kB / 485.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.1668, allocations: 34.56 kB / 485.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.1668, allocations: 3.938 kB / 485.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009512/0.1678, allocations: 269.2 kB / 486.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.1678, allocations: 59.3 kB / 486.3 MB, free: 480 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.1681, allocations: 210.9 kB / 486.5 MB, free: 260 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.896e-05/0.1681, allocations: 25.7 kB / 486.5 MB, free: 228 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.456e-05/0.1682, allocations: 120 kB / 486.6 MB, free: 104 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.1682, allocations: 23.64 kB / 486.6 MB, free: 80 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-06/0.1683, allocations: 4 kB / 486.6 MB, free: 76 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.1685, allocations: 322.8 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.154e-05/0.1686, allocations: 31.98 kB / 487 MB, free: 15.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.543e-05/0.1687, allocations: 31.97 kB / 487 MB, free: 15.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.385e-05/0.1688, allocations: 39.98 kB / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1688, allocations: 0 / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002612/0.169, allocations: 117.5 kB / 487.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.1691, allocations: 4 kB / 487.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.1691, allocations: 4 kB / 487.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1691, allocations: 3.984 kB / 487.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.1692, allocations: 23.94 kB / 487.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.1692, allocations: 7.953 kB / 487.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/0.1693, allocations: 7.984 kB / 487.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.1693, allocations: 0 / 487.2 MB, free: 15.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.1694, allocations: 134.3 kB / 487.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.1695, allocations: 11.91 kB / 487.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003159/0.1698, allocations: 138.9 kB / 487.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.1698, allocations: 4.406 kB / 487.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1698, allocations: 3.938 kB / 487.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1699, allocations: 7.953 kB / 487.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005672/0.1704, allocations: 431.2 kB / 487.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1704, allocations: 4 kB / 487.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.669e-05/0.1705, allocations: 23.98 kB / 488 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.1705, allocations: 3.984 kB / 488 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.1706, allocations: 11.92 kB / 488 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1706, allocations: 0 / 488 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.1706, allocations: 4 kB / 488 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.1709, allocations: 220.6 kB / 488.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.1709, allocations: 89 kB / 488.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.171, allocations: 4 kB / 488.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.6e-05/0.171, allocations: 11.95 kB / 488.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.1711, allocations: 7.984 kB / 488.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.1711, allocations: 0 / 488.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.1712, allocations: 168.7 kB / 488.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1712, allocations: 0 / 488.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1715, allocations: 23.98 kB / 488.5 MB, free: 14.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001107/0.1726, allocations: 448.8 kB / 488.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002505/0.1729, allocations: 83.89 kB / 489 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.1729, allocations: 0 / 489 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.859e-05/0.173, allocations: 47.91 kB / 489.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.1734, allocations: 16 kB / 489.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005609/0.174, allocations: 286.2 kB / 489.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.1743, allocations: 0.716 MB / 490.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.972e-05/0.1744, allocations: 16.97 kB / 490.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.1744, allocations: 15.42 kB / 490.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1744, allocations: 0 / 490.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of Templates: time 0.004325/0.1788, allocations: 1.298 MB / 491.4 MB, free: 11.29 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches