Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001263/0.001263, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00163/0.00163, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 227.4 MB / 246.8 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2533/0.2533, allocations: 46.12 MB / 344.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 81.12 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1574, allocations: 62.46 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003673/0.1611, allocations: 1.595 MB / 481.7 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.1624, allocations: 0.5299 MB / 482.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.353e-05/0.1625, allocations: 0 / 482.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002944/0.1628, allocations: 31.78 kB / 482.3 MB, free: 3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.1631, allocations: 75.67 kB / 482.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.1635, allocations: 95.66 kB / 482.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.1636, allocations: 55.89 kB / 482.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.1638, allocations: 15.98 kB / 482.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.553e-05/0.1638, allocations: 23.81 kB / 482.5 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.983e-05/0.1639, allocations: 23.86 kB / 482.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.1639, allocations: 0 / 482.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.1641, allocations: 43.97 kB / 482.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.747e-05/0.1641, allocations: 7.984 kB / 482.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.067e-05/0.1642, allocations: 27.81 kB / 482.6 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.1644, allocations: 83.72 kB / 482.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1644, allocations: 0 / 482.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1644, allocations: 0 / 482.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.1645, allocations: 0 / 482.7 MB, free: 2.555 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.0006771/0.1651, allocations: 387.4 kB / 483.1 MB, free: 2.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.1652, allocations: 8.031 kB / 483.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.1652, allocations: 8.844 kB / 483.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.1655, allocations: 190.8 kB / 483.3 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.1655, allocations: 8.375 kB / 483.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.1656, allocations: 8.359 kB / 483.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.1657, allocations: 53.8 kB / 483.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1658, allocations: 0 / 483.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1658, allocations: 0 / 483.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.1658, allocations: 0 / 483.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.672e-05/0.1659, allocations: 23.92 kB / 483.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004739/0.1664, allocations: 280.8 kB / 483.7 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.1667, allocations: 42.56 kB / 483.7 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.42e-05/0.1667, allocations: 16.94 kB / 483.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.1668, allocations: 0 / 483.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.1668, allocations: 30.56 kB / 483.7 MB, free: 1.359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.1668, allocations: 7.875 kB / 483.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006604/0.1675, allocations: 149.3 kB / 483.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.1675, allocations: 51.41 kB / 484 MB, free: 1.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.1677, allocations: 169.6 kB / 484.1 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.1678, allocations: 25.7 kB / 484.1 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.893e-05/0.1679, allocations: 100.1 kB / 484.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.1679, allocations: 15.75 kB / 484.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.168, allocations: 29.64 kB / 484.3 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.1682, allocations: 314.8 kB / 484.6 MB, free: 472 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.998e-05/0.1682, allocations: 19.98 kB / 484.6 MB, free: 452 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.525e-05/0.1683, allocations: 15.98 kB / 484.6 MB, free: 436 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.1684, allocations: 53.02 kB / 484.7 MB, free: 380 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1684, allocations: 0 / 484.7 MB, free: 380 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001874/0.1686, allocations: 81.56 kB / 484.8 MB, free: 292 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.1687, allocations: 8 kB / 484.8 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.1687, allocations: 0 / 484.8 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/0.1687, allocations: 3.938 kB / 484.8 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.193e-05/0.1688, allocations: 8 kB / 484.8 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.1688, allocations: 7.984 kB / 484.8 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.1689, allocations: 7.938 kB / 484.8 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.1689, allocations: 4 kB / 484.8 MB, free: 252 kB / 350.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 (5): * Single equations (assignments): 5 * 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.0001178/0.169, allocations: 117.8 kB / 484.9 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.1691, allocations: 7.906 kB / 484.9 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.1693, allocations: 89.95 kB / 485 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1693, allocations: 0 / 485 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.1693, allocations: 0 / 485 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.1694, allocations: 11.88 kB / 485 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004915/0.1699, allocations: 346.6 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1699, allocations: 0 / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.134e-05/0.1699, allocations: 8 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1699, allocations: 0 / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.17, allocations: 7.938 kB / 485.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.17, allocations: 192 / 485.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.17, allocations: 7.984 kB / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.1702, allocations: 179.4 kB / 485.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.915e-05/0.1703, allocations: 92.95 kB / 485.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.1703, allocations: 3.938 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.713e-05/0.1704, allocations: 7.984 kB / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.1705, allocations: 288 / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.1705, allocations: 0 / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.1706, allocations: 130.6 kB / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1706, allocations: 0 / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.1708, allocations: 23.98 kB / 485.8 MB, free: 15.13 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 (5): * Single equations (assignments): 5 * 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.001575/0.1724, allocations: 401.7 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000259/0.1727, allocations: 51.89 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1727, allocations: 0 / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.799e-05/0.1728, allocations: 23.98 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.1732, allocations: 15.98 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004934/0.1737, allocations: 198 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.1741, allocations: 0.6924 MB / 487.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.417e-05/0.1741, allocations: 15.97 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.1742, allocations: 15.38 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of SimCode: time 2.154e-06/0.1742, allocations: 0 / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of Templates: time 0.004367/0.1786, allocations: 1.118 MB / 488.3 MB, free: 12.69 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches