Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0022/0.0022, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00282/0.00282, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.334/2.334, allocations: 227.4 MB / 246.9 MB, free: 9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3749/0.3749, allocations: 46.1 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002781/0.002781, allocations: 78.84 kB / 417.5 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1761, allocations: 62.45 MB / 479.9 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.005037/0.1812, allocations: 1.781 MB / 481.7 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.1837, allocations: 1.021 MB / 482.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.1839, allocations: 0 / 482.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004564/0.1844, allocations: 51.75 kB / 482.8 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004734/0.1849, allocations: 75.69 kB / 482.9 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.1853, allocations: 63.88 kB / 482.9 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000263/0.1856, allocations: 99.75 kB / 483 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.1857, allocations: 8 kB / 483 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.1859, allocations: 51.7 kB / 483.1 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.186, allocations: 31.8 kB / 483.1 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.1861, allocations: 0 / 483.1 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.1862, allocations: 47.97 kB / 483.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.124e-05/0.1863, allocations: 15.92 kB / 483.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.976e-05/0.1864, allocations: 39.73 kB / 483.2 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.1867, allocations: 96.03 kB / 483.3 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1867, allocations: 0 / 483.3 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1867, allocations: 3.938 kB / 483.3 MB, free: 2.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1867, allocations: 0 / 483.3 MB, free: 2.258 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007378/0.1874, allocations: 419 kB / 483.7 MB, free: 1.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.1875, allocations: 8.875 kB / 483.7 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.427e-05/0.1876, allocations: 12.84 kB / 483.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.1879, allocations: 216 kB / 484 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.188, allocations: 4.375 kB / 484 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.188, allocations: 8.125 kB / 484 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.1882, allocations: 53.67 kB / 484 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.1883, allocations: 0 / 484 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1883, allocations: 3.938 kB / 484 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1883, allocations: 0 / 484 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.1884, allocations: 19.98 kB / 484.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/0.1889, allocations: 288.9 kB / 484.3 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.1892, allocations: 58.67 kB / 484.4 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.646e-05/0.1893, allocations: 24.78 kB / 484.4 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.1893, allocations: 0 / 484.4 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002869/0.1896, allocations: 63.39 kB / 484.5 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.868e-06/0.1896, allocations: 8 kB / 484.5 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007838/0.1904, allocations: 193 kB / 484.7 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.1905, allocations: 51.41 kB / 484.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.1908, allocations: 206.9 kB / 484.9 MB, free: 472 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.1909, allocations: 25.7 kB / 485 MB, free: 440 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.655e-05/0.191, allocations: 104.1 kB / 485.1 MB, free: 332 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.078e-05/0.191, allocations: 23.7 kB / 485.1 MB, free: 308 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.45e-05/0.1911, allocations: 25.7 kB / 485.1 MB, free: 276 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.1913, allocations: 334.8 kB / 485.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.228e-05/0.1914, allocations: 19.98 kB / 485.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.1915, allocations: 37.64 kB / 485.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.1917, allocations: 57.66 kB / 485.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1917, allocations: 0 / 485.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002926/0.192, allocations: 109.5 kB / 485.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.192, allocations: 4 kB / 485.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.192, allocations: 4 kB / 485.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1921, allocations: 0 / 485.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.1922, allocations: 19.98 kB / 485.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1922, allocations: 0 / 485.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.23e-05/0.1923, allocations: 7.938 kB / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.1924, allocations: 4 kB / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001511/0.1925, allocations: 132.9 kB / 485.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.1926, allocations: 19.89 kB / 485.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.811e-05/0.1926, allocations: 13.41 kB / 485.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1927, allocations: 3.938 kB / 485.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.1927, allocations: 0 / 485.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.1927, allocations: 7.938 kB / 485.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006522/0.1934, allocations: 395.3 kB / 486.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1934, allocations: 3.938 kB / 486.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.76e-05/0.1934, allocations: 8 kB / 486.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1934, allocations: 4.031 kB / 486.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.1935, allocations: 3.938 kB / 486.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.1935, allocations: 7.984 kB / 486.3 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1935, allocations: 0 / 486.3 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.1938, allocations: 200.3 kB / 486.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.749e-05/0.1939, allocations: 88.92 kB / 486.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.194, allocations: 7.938 kB / 486.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.1941, allocations: 11.94 kB / 486.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.1942, allocations: 11.92 kB / 486.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.1942, allocations: 384 / 486.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002195/0.1944, allocations: 160.3 kB / 486.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1945, allocations: 0 / 486.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000444/0.1949, allocations: 19.98 kB / 486.8 MB, free: 14.47 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00171/0.1966, allocations: 461.6 kB / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003123/0.197, allocations: 51.92 kB / 487.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.197, allocations: 0 / 487.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.1971, allocations: 31.98 kB / 487.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005838/0.1977, allocations: 32.09 kB / 487.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009156/0.1986, allocations: 294.4 kB / 487.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.1991, allocations: 0.7083 MB / 488.3 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.1992, allocations: 15.44 kB / 488.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1992, allocations: 0 / 488.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of Templates: time 0.006078/0.2053, allocations: 1.968 MB / 490.3 MB, free: 11.02 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches