Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001732/0.001732, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00214/0.00214, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.327/2.327, allocations: 227.4 MB / 246.9 MB, free: 8.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3915/0.3915, allocations: 46.11 MB / 344.3 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002901/0.002902, allocations: 85.94 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1753, allocations: 62.44 MB / 479.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.004901/0.1802, allocations: 1.789 MB / 481.7 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002595/0.1828, allocations: 1.013 MB / 482.7 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.183, allocations: 0 / 482.7 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000399/0.1834, allocations: 43.77 kB / 482.8 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004239/0.1839, allocations: 87.73 kB / 482.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.1842, allocations: 59.88 kB / 482.9 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.1845, allocations: 103.6 kB / 483 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.1847, allocations: 8 kB / 483 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.1848, allocations: 43.77 kB / 483.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.185, allocations: 31.8 kB / 483.1 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.185, allocations: 4 kB / 483.1 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.1852, allocations: 51.92 kB / 483.2 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.066e-05/0.1853, allocations: 19.91 kB / 483.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.358e-05/0.1854, allocations: 35.73 kB / 483.2 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.1857, allocations: 92.09 kB / 483.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1857, allocations: 0 / 483.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1857, allocations: 4 kB / 483.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.1857, allocations: 0 / 483.3 MB, free: 2.289 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.0008279/0.1866, allocations: 418.9 kB / 483.7 MB, free: 1.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/0.1866, allocations: 12.88 kB / 483.7 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.144e-05/0.1867, allocations: 12.84 kB / 483.8 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.1871, allocations: 219.9 kB / 484 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.1871, allocations: 8.375 kB / 484 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.1872, allocations: 4.125 kB / 484 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.1874, allocations: 53.67 kB / 484 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.1874, allocations: 0 / 484 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.1875, allocations: 0 / 484 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.1875, allocations: 4 kB / 484 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.1876, allocations: 15.98 kB / 484.1 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005458/0.1882, allocations: 288.9 kB / 484.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.1885, allocations: 62.61 kB / 484.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.623e-05/0.1886, allocations: 16.86 kB / 484.4 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.1886, allocations: 3.984 kB / 484.4 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003133/0.1889, allocations: 71.39 kB / 484.5 MB, free: 0.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.594e-06/0.189, allocations: 0 / 484.5 MB, free: 0.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008308/0.1898, allocations: 177.1 kB / 484.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.1899, allocations: 55.39 kB / 484.7 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003112/0.1902, allocations: 206.9 kB / 484.9 MB, free: 0.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.1902, allocations: 25.7 kB / 484.9 MB, free: 480 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.009e-05/0.1903, allocations: 108.1 kB / 485 MB, free: 368 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/0.1904, allocations: 19.72 kB / 485.1 MB, free: 348 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.615e-05/0.1905, allocations: 29.64 kB / 485.1 MB, free: 312 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.1907, allocations: 330.8 kB / 485.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.338e-05/0.1908, allocations: 16 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.1909, allocations: 41.62 kB / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.1911, allocations: 65.64 kB / 485.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1911, allocations: 4 kB / 485.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003202/0.1915, allocations: 101.4 kB / 485.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.1915, allocations: 8 kB / 485.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.1915, allocations: 0 / 485.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1915, allocations: 0 / 485.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.1917, allocations: 12 kB / 485.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.1917, allocations: 7.938 kB / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.464e-05/0.1918, allocations: 11.92 kB / 485.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.1918, allocations: 4.375 kB / 485.7 MB, free: 15.69 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.0001491/0.192, allocations: 136.5 kB / 485.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.1921, allocations: 11.91 kB / 485.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.414e-05/0.1921, allocations: 17.39 kB / 485.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.1922, allocations: 4 kB / 485.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.1922, allocations: 4 kB / 485.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1922, allocations: 3.938 kB / 485.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006714/0.1929, allocations: 403.4 kB / 486.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1929, allocations: 4.031 kB / 486.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.597e-05/0.193, allocations: 8 kB / 486.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.193, allocations: 0 / 486.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.193, allocations: 7.938 kB / 486.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.193, allocations: 0 / 486.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.193, allocations: 0 / 486.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.1934, allocations: 204.2 kB / 486.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.461e-05/0.1935, allocations: 92.92 kB / 486.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.1935, allocations: 3.938 kB / 486.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.1937, allocations: 8 kB / 486.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/0.1937, allocations: 7.984 kB / 486.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.1938, allocations: 4 kB / 486.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002141/0.194, allocations: 152.3 kB / 486.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.194, allocations: 0 / 486.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000504/0.1945, allocations: 23.98 kB / 486.8 MB, free: 14.51 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.001838/0.1964, allocations: 452.9 kB / 487.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002712/0.1967, allocations: 59.91 kB / 487.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.1967, allocations: 0 / 487.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.1969, allocations: 35.98 kB / 487.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005987/0.1975, allocations: 27.36 kB / 487.3 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007682/0.1982, allocations: 302.4 kB / 487.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.1987, allocations: 0.7043 MB / 488.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.139e-05/0.1988, allocations: 15.44 kB / 488.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1988, allocations: 0 / 488.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of Templates: time 0.006406/0.2052, allocations: 1.963 MB / 490.3 MB, free: 11.06 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches