Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001431/0.001431, 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.001461/0.001461, 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.507/1.507, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.233/0.233, allocations: 46.12 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 82.42 kB / 417.7 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1803, allocations: 62.46 MB / 480.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003504/0.1839, allocations: 1.595 MB / 481.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.1857, allocations: 1.156 MB / 482.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.984e-05/0.1858, allocations: 3.938 kB / 482.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002476/0.186, allocations: 31.84 kB / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.1864, allocations: 75.62 kB / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.1867, allocations: 99.69 kB / 483.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.1868, allocations: 63.84 kB / 483.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.187, allocations: 11.97 kB / 483.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.859e-05/0.187, allocations: 31.86 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.1872, allocations: 31.84 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.1873, allocations: 4 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.1874, allocations: 91.89 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.044e-05/0.1875, allocations: 19.97 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.191e-05/0.1875, allocations: 23.81 kB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.1878, allocations: 135.7 kB / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1878, allocations: 0 / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1879, allocations: 0 / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.1879, allocations: 0 / 483.5 MB, free: 1.836 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.0006174/0.1885, allocations: 399.4 kB / 483.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/0.1886, allocations: 12.03 kB / 483.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.1886, allocations: 4.875 kB / 483.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.1889, allocations: 200.1 kB / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-06/0.1889, allocations: 384 / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.1889, allocations: 4.375 kB / 484.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.1891, allocations: 67.52 kB / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1891, allocations: 0 / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.1891, allocations: 4 kB / 484.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1892, allocations: 0 / 484.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.337e-05/0.1892, allocations: 19.92 kB / 484.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.1897, allocations: 288.9 kB / 484.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.1899, allocations: 38.56 kB / 484.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.567e-05/0.19, allocations: 16.95 kB / 484.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.19, allocations: 3.984 kB / 484.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.19, allocations: 34.56 kB / 484.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.1901, allocations: 3.938 kB / 484.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006756/0.1907, allocations: 137.3 kB / 484.7 MB, free: 464 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.251e-05/0.1908, allocations: 81.11 kB / 484.8 MB, free: 364 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.191, allocations: 145.8 kB / 484.9 MB, free: 208 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.191, allocations: 29.64 kB / 484.9 MB, free: 172 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.929e-05/0.1911, allocations: 96.12 kB / 485 MB, free: 72 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.1912, allocations: 23.7 kB / 485.1 MB, free: 48 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.1912, allocations: 21.7 kB / 485.1 MB, free: 20 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1914, allocations: 318.8 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.818e-05/0.1915, allocations: 15.98 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.996e-05/0.1916, allocations: 41.62 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.1917, allocations: 45.06 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1917, allocations: 4 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001976/0.1919, allocations: 77.66 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.192, allocations: 7.938 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.192, allocations: 4 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.192, allocations: 0 / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.315e-05/0.1921, allocations: 11.98 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1921, allocations: 4 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.99e-05/0.1922, allocations: 8 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.1922, allocations: 7.938 kB / 485.6 MB, free: 15.46 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 (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.0001103/0.1923, allocations: 113.8 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.1923, allocations: 3.906 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002953/0.1926, allocations: 89.95 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1926, allocations: 3.938 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1927, allocations: 4 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1927, allocations: 4 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004846/0.1932, allocations: 350.4 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1932, allocations: 0 / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.739e-05/0.1932, allocations: 12.27 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1932, allocations: 0 / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.1933, allocations: 4 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.1933, allocations: 11.94 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1933, allocations: 0 / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.1936, allocations: 183.6 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.735e-05/0.1936, allocations: 81.11 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.1937, allocations: 4 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.576e-05/0.1937, allocations: 7.922 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.1938, allocations: 8 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-06/0.1938, allocations: 3.938 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.1939, allocations: 117.3 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1939, allocations: 0 / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003011/0.1942, allocations: 36 kB / 486.6 MB, free: 14.34 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.001893/0.1961, allocations: 492.9 kB / 487.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002741/0.1964, allocations: 51.84 kB / 487.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1964, allocations: 0 / 487.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.266e-05/0.1965, allocations: 27.98 kB / 487.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.197, allocations: 22.02 kB / 487.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005727/0.1976, allocations: 169.4 kB / 487.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.198, allocations: 0.6962 MB / 488.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.606e-05/0.1981, allocations: 8 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.1981, allocations: 19.42 kB / 488.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1981, allocations: 0 / 488.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of Templates: time 0.005402/0.2035, allocations: 1.748 MB / 489.8 MB, free: 11.24 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches