Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001673/0.001673, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001921/0.001921, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2468/0.2468, allocations: 46.12 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 77.95 kB / 417.7 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1587, allocations: 62.45 MB / 480.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003426/0.1622, allocations: 1.595 MB / 481.7 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.1632, allocations: 0.5299 MB / 482.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.316e-05/0.1633, allocations: 0 / 482.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002278/0.1635, allocations: 35.77 kB / 482.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003488/0.1639, allocations: 83.62 kB / 482.4 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.1642, allocations: 87.27 kB / 482.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.1643, allocations: 67.83 kB / 482.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1644, allocations: 11.98 kB / 482.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.22e-05/0.1645, allocations: 23.86 kB / 482.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.556e-05/0.1646, allocations: 23.86 kB / 482.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.1646, allocations: 0 / 482.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.669e-05/0.1647, allocations: 39.92 kB / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.067e-05/0.1648, allocations: 15.98 kB / 482.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.1648, allocations: 27.73 kB / 482.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.165, allocations: 87.78 kB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.165, allocations: 0 / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.165, allocations: 0 / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.165, allocations: 0 / 482.7 MB, free: 2.59 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.0006667/0.1657, allocations: 395.3 kB / 483.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.1657, allocations: 12.03 kB / 483.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.1658, allocations: 8.844 kB / 483.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.1661, allocations: 192.8 kB / 483.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.1661, allocations: 4.312 kB / 483.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.1661, allocations: 11.94 kB / 483.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.1663, allocations: 45.69 kB / 483.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.1663, allocations: 7.906 kB / 483.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1663, allocations: 0 / 483.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1663, allocations: 0 / 483.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.402e-05/0.1664, allocations: 19.98 kB / 483.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.1669, allocations: 276.9 kB / 483.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.1671, allocations: 46.5 kB / 483.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.413e-05/0.1671, allocations: 16.86 kB / 483.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.1672, allocations: 0 / 483.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.1672, allocations: 34.64 kB / 483.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.1672, allocations: 0 / 483.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005759/0.1678, allocations: 145.3 kB / 483.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.1678, allocations: 51.41 kB / 484 MB, free: 1.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.168, allocations: 175.8 kB / 484.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.1681, allocations: 33.64 kB / 484.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.675e-05/0.1682, allocations: 100 kB / 484.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.1682, allocations: 19.75 kB / 484.3 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/0.1682, allocations: 25.7 kB / 484.3 MB, free: 0.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.1684, allocations: 318.8 kB / 484.6 MB, free: 484 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.981e-05/0.1685, allocations: 11.98 kB / 484.6 MB, free: 472 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.16e-05/0.1686, allocations: 19.98 kB / 484.7 MB, free: 452 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.1687, allocations: 52.77 kB / 484.7 MB, free: 396 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1687, allocations: 192 / 484.7 MB, free: 396 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001995/0.1689, allocations: 89.56 kB / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.169, allocations: 6.344 kB / 484.8 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.169, allocations: 0 / 484.8 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.169, allocations: 0 / 484.8 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.494e-05/0.1691, allocations: 15.94 kB / 484.8 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1691, allocations: 3.984 kB / 484.8 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.286e-05/0.1691, allocations: 7.938 kB / 484.8 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1692, allocations: 4 kB / 484.8 MB, free: 264 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.0001288/0.1693, allocations: 125.8 kB / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.1693, allocations: 11.89 kB / 485 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.1696, allocations: 85.97 kB / 485.1 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1696, allocations: 0 / 485.1 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1696, allocations: 0 / 485.1 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.1696, allocations: 3.938 kB / 485.1 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005183/0.1702, allocations: 358.5 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1702, allocations: 0 / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.29e-05/0.1702, allocations: 8 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.1702, allocations: 3.984 kB / 485.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.1703, allocations: 7.938 kB / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1703, allocations: 0 / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1703, allocations: 0 / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.1705, allocations: 183.6 kB / 485.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.483e-05/0.1706, allocations: 85.27 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.1706, allocations: 11.86 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.1707, allocations: 8 kB / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.1708, allocations: 3.984 kB / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.1708, allocations: 4 kB / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.1709, allocations: 138.5 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1709, allocations: 0 / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1712, allocations: 16 kB / 485.9 MB, free: 15.12 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.001578/0.1728, allocations: 397.7 kB / 486.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000216/0.173, allocations: 43.97 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.173, allocations: 0 / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.578e-05/0.1731, allocations: 27.92 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.0004078/0.1735, allocations: 14.8 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.000533/0.1741, allocations: 206.1 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.1745, allocations: 0.6924 MB / 487.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.848e-05/0.1745, allocations: 23.83 kB / 487.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.1746, allocations: 15.44 kB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1746, allocations: 0 / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of Templates: time 0.004463/0.1791, allocations: 1.121 MB / 488.4 MB, free: 12.68 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches