Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.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.CombiTable1Ds.Test16,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.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00101/0.00101, allocations: 101.6 kB / 17.01 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001169/0.001169, allocations: 197.2 kB / 17.9 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2287/0.2287, allocations: 46.19 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000306/0.000306, allocations: 8 kB / 418.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1612, allocations: 63.57 MB / 482.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003299/0.1646, allocations: 1.307 MB / 483.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.1658, allocations: 499.2 kB / 484.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.739e-05/0.166, allocations: 0 / 484.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000354/0.1663, allocations: 83.77 kB / 484.3 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003946/0.1668, allocations: 83.78 kB / 484.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005007/0.1673, allocations: 79.83 kB / 484.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.1675, allocations: 71.77 kB / 484.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.1677, allocations: 8 kB / 484.5 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.271e-05/0.1678, allocations: 35.89 kB / 484.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.1679, allocations: 43.81 kB / 484.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.168, allocations: 8 kB / 484.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.1681, allocations: 36 kB / 484.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.806e-05/0.1682, allocations: 15.92 kB / 484.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.01e-05/0.1683, allocations: 37.64 kB / 484.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.1685, allocations: 79.88 kB / 484.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1685, allocations: 3.938 kB / 484.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1685, allocations: 0 / 484.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1685, allocations: 0 / 484.8 MB, free: 2.152 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.0007107/0.1692, allocations: 411.1 kB / 485.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.1693, allocations: 8.031 kB / 485.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.1694, allocations: 11.81 kB / 485.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.1696, allocations: 201.4 kB / 485.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1696, allocations: 0 / 485.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.1697, allocations: 4 kB / 485.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.1699, allocations: 53.69 kB / 485.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1699, allocations: 0 / 485.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1699, allocations: 0 / 485.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1699, allocations: 0 / 485.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.1701, allocations: 39.91 kB / 485.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.1706, allocations: 296.7 kB / 485.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.1707, allocations: 46.55 kB / 485.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.005e-05/0.1708, allocations: 24.94 kB / 485.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.658e-05/0.1708, allocations: 7.938 kB / 485.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.1709, allocations: 30.56 kB / 485.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.1709, allocations: 0 / 485.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001313/0.1722, allocations: 253.2 kB / 486.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.1723, allocations: 55.36 kB / 486.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.1726, allocations: 210.8 kB / 486.4 MB, free: 348 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.1726, allocations: 25.7 kB / 486.4 MB, free: 316 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.168e-05/0.1727, allocations: 112 kB / 486.5 MB, free: 200 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.1728, allocations: 19.66 kB / 486.5 MB, free: 180 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-06/0.1728, allocations: 7.938 kB / 486.6 MB, free: 172 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.173, allocations: 322.8 kB / 486.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.1732, allocations: 35.97 kB / 486.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.978e-05/0.1733, allocations: 23.98 kB / 486.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.1734, allocations: 31.98 kB / 487 MB, free: 15.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1734, allocations: 4 kB / 487 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002895/0.1737, allocations: 109.4 kB / 487.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.1737, allocations: 8 kB / 487.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.1737, allocations: 0 / 487.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1738, allocations: 0 / 487.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.1739, allocations: 23.98 kB / 487.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.1739, allocations: 7.953 kB / 487.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.899e-05/0.174, allocations: 7.984 kB / 487.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.174, allocations: 4 kB / 487.1 MB, free: 15.59 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.000132/0.1742, allocations: 126.4 kB / 487.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.124e-05/0.1742, allocations: 11.91 kB / 487.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003664/0.1746, allocations: 143.1 kB / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1746, allocations: 0 / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1746, allocations: 0 / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.1747, allocations: 3.953 kB / 487.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006482/0.1753, allocations: 419.2 kB / 487.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1753, allocations: 0 / 487.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.142e-05/0.1754, allocations: 19.98 kB / 487.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1754, allocations: 0 / 487.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.1755, allocations: 7.953 kB / 487.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1755, allocations: 0 / 487.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1755, allocations: 0 / 487.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.1758, allocations: 220.2 kB / 488.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.98e-05/0.1759, allocations: 85.02 kB / 488.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.176, allocations: 3.984 kB / 488.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.1761, allocations: 11.95 kB / 488.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.1761, allocations: 11.98 kB / 488.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.986e-06/0.1762, allocations: 4 kB / 488.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001836/0.1763, allocations: 168.7 kB / 488.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.024e-06/0.1764, allocations: 0 / 488.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004165/0.1768, allocations: 23.94 kB / 488.4 MB, free: 14.24 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.001593/0.1784, allocations: 453.2 kB / 488.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002838/0.1787, allocations: 71.95 kB / 488.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1787, allocations: 0 / 488.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.1788, allocations: 39.92 kB / 488.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.1793, allocations: 15.98 kB / 488.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006448/0.18, allocations: 278.2 kB / 489.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.1803, allocations: 0.716 MB / 489.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.293e-05/0.1804, allocations: 16.97 kB / 489.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.036e-05/0.1805, allocations: 15.42 kB / 489.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1805, allocations: 0 / 489.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of Templates: time 0.005444/0.1859, allocations: 1.263 MB / 491.2 MB, free: 11.5 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches