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.001984/0.001983, allocations: 107.4 kB / 17.98 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002363/0.002363, allocations: 209.8 kB / 18.92 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.346/2.346, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2995/0.2995, allocations: 46.08 MB / 344.4 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002571/0.002571, allocations: 80.92 kB / 417.7 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1661, allocations: 62.44 MB / 480.2 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.004988/0.1712, allocations: 1.649 MB / 481.8 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.1727, allocations: 0.5222 MB / 482.3 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.435e-05/0.1728, allocations: 4 kB / 482.3 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.1731, allocations: 35.8 kB / 482.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004108/0.1736, allocations: 67.81 kB / 482.4 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004093/0.174, allocations: 75.61 kB / 482.5 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.1742, allocations: 71.81 kB / 482.6 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1744, allocations: 8 kB / 482.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.061e-05/0.1745, allocations: 27.86 kB / 482.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.568e-05/0.1746, allocations: 23.86 kB / 482.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.1746, allocations: 4 kB / 482.6 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.1747, allocations: 31.92 kB / 482.7 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.357e-05/0.1748, allocations: 11.98 kB / 482.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.446e-05/0.1749, allocations: 31.75 kB / 482.7 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.1751, allocations: 67.89 kB / 482.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1751, allocations: 4 kB / 482.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1751, allocations: 0 / 482.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.1752, allocations: 0 / 482.8 MB, free: 3.004 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.0006794/0.1759, allocations: 395.3 kB / 483.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.1759, allocations: 8.031 kB / 483.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.102e-05/0.176, allocations: 12.84 kB / 483.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.1763, allocations: 188.8 kB / 483.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.1763, allocations: 8.312 kB / 483.4 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.487e-05/0.1764, allocations: 3.938 kB / 483.4 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.1766, allocations: 49.69 kB / 483.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.1766, allocations: 3.906 kB / 483.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.1766, allocations: 3.984 kB / 483.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.1767, allocations: 4 kB / 483.4 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.1769, allocations: 27.91 kB / 483.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004878/0.1774, allocations: 272.9 kB / 483.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.1777, allocations: 46.5 kB / 483.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.631e-05/0.1778, allocations: 12.86 kB / 483.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.1778, allocations: 4.094 kB / 483.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.1779, allocations: 42.48 kB / 483.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.144e-06/0.1779, allocations: 0 / 483.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0009192/0.1788, allocations: 141.3 kB / 484 MB, free: 1.637 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.1789, allocations: 51.41 kB / 484 MB, free: 1.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.1792, allocations: 178.4 kB / 484.2 MB, free: 1.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.1793, allocations: 33.7 kB / 484.2 MB, free: 1.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.958e-05/0.1793, allocations: 100 kB / 484.3 MB, free: 1.246 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.1794, allocations: 15.75 kB / 484.3 MB, free: 1.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.195e-05/0.1795, allocations: 21.7 kB / 484.4 MB, free: 1.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1796, allocations: 322.8 kB / 484.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.1798, allocations: 15.98 kB / 484.7 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.1799, allocations: 19.98 kB / 484.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.1801, allocations: 48.78 kB / 484.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1802, allocations: 0 / 484.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003355/0.1805, allocations: 81.56 kB / 484.8 MB, free: 0.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.1806, allocations: 4 kB / 484.8 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1806, allocations: 0 / 484.8 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.1806, allocations: 4 kB / 484.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.1807, allocations: 16.23 kB / 484.9 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1808, allocations: 0 / 484.9 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.9e-05/0.1809, allocations: 11.94 kB / 484.9 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.1809, allocations: 4 kB / 484.9 MB, free: 0.668 MB / 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.000136/0.181, allocations: 125.8 kB / 485 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/0.1811, allocations: 7.906 kB / 485 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004075/0.1816, allocations: 85.97 kB / 485.1 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1816, allocations: 4 kB / 485.1 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.1816, allocations: 0 / 485.1 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.1816, allocations: 7.938 kB / 485.1 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000694/0.1823, allocations: 346.5 kB / 485.4 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.1823, allocations: 0 / 485.4 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.1825, allocations: 19.92 kB / 485.5 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1825, allocations: 0 / 485.5 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.1825, allocations: 7.938 kB / 485.5 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1825, allocations: 0 / 485.5 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.1825, allocations: 0 / 485.5 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/0.1829, allocations: 179.3 kB / 485.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-05/0.183, allocations: 89 kB / 485.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.1831, allocations: 7.875 kB / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.1832, allocations: 4 kB / 485.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.1833, allocations: 4 kB / 485.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.1833, allocations: 7.984 kB / 485.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001811/0.1835, allocations: 134.3 kB / 485.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1835, allocations: 3.938 kB / 485.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004801/0.184, allocations: 16 kB / 485.9 MB, free: 15.54 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.001636/0.1857, allocations: 396 kB / 486.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00032/0.186, allocations: 47.97 kB / 486.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.186, allocations: 0 / 486.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.1862, allocations: 27.92 kB / 486.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006/0.1868, allocations: 19.92 kB / 486.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000777/0.1876, allocations: 255.6 kB / 486.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.188, allocations: 0.6924 MB / 487.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.711e-05/0.1881, allocations: 15.42 kB / 487.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1881, allocations: 0 / 487.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of Templates: time 0.005011/0.1931, allocations: 1.471 MB / 488.8 MB, free: 12.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches