Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001418/0.001418, allocations: 111 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.001402/0.001402, 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 1.581/1.581, allocations: 227.4 MB / 246.9 MB, free: 8.895 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.24/0.24, allocations: 46.11 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 81.45 kB / 417.5 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1737, allocations: 62.45 MB / 479.9 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.006001/0.1797, allocations: 1.785 MB / 481.7 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003201/0.183, allocations: 1.02 MB / 482.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.1831, allocations: 0 / 482.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004274/0.1836, allocations: 39.78 kB / 482.8 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005067/0.1841, allocations: 75.73 kB / 482.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.1846, allocations: 59.89 kB / 482.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000297/0.1849, allocations: 103.7 kB / 483 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.185, allocations: 12 kB / 483 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.1852, allocations: 35.8 kB / 483.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.1853, allocations: 31.78 kB / 483.1 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.1854, allocations: 4 kB / 483.1 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001871/0.1856, allocations: 47.92 kB / 483.2 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.928e-05/0.1857, allocations: 15.92 kB / 483.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.104e-05/0.1858, allocations: 35.78 kB / 483.2 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.1861, allocations: 80.06 kB / 483.3 MB, free: 2.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.187e-05/0.1861, allocations: 4 kB / 483.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1861, allocations: 4 kB / 483.3 MB, free: 2.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.1862, allocations: 0 / 483.3 MB, free: 2.305 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.0009169/0.1871, allocations: 399.1 kB / 483.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.1872, allocations: 8.875 kB / 483.7 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.202e-05/0.1873, allocations: 12.84 kB / 483.7 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.1877, allocations: 212 kB / 483.9 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.1877, allocations: 4.375 kB / 483.9 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.1878, allocations: 4.125 kB / 483.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.188, allocations: 61.67 kB / 484 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.1881, allocations: 0 / 484 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.1881, allocations: 4 kB / 484 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1881, allocations: 0 / 484 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.1883, allocations: 15.98 kB / 484 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006134/0.1889, allocations: 292.7 kB / 484.3 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.1893, allocations: 66.55 kB / 484.3 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.1894, allocations: 24.84 kB / 484.4 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.1894, allocations: 0 / 484.4 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003769/0.1898, allocations: 63.39 kB / 484.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.585e-06/0.1898, allocations: 0 / 484.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001003/0.1909, allocations: 173.2 kB / 484.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.1909, allocations: 63.41 kB / 484.7 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.1913, allocations: 166.2 kB / 484.8 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.1913, allocations: 29.7 kB / 484.9 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.088e-05/0.1914, allocations: 100.1 kB / 485 MB, free: 448 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.461e-05/0.1915, allocations: 23.66 kB / 485 MB, free: 424 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-05/0.1916, allocations: 29.58 kB / 485 MB, free: 388 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.1918, allocations: 326.8 kB / 485.3 MB, free: 52 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.1919, allocations: 24 kB / 485.3 MB, free: 28 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.1921, allocations: 33.7 kB / 485.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.1923, allocations: 61.7 kB / 485.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1924, allocations: 0 / 485.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003636/0.1927, allocations: 93.53 kB / 485.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.1928, allocations: 4 kB / 485.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1928, allocations: 4 kB / 485.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1928, allocations: 4.031 kB / 485.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.193, allocations: 15.98 kB / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.193, allocations: 3.938 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.857e-05/0.1931, allocations: 11.94 kB / 485.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.1932, allocations: 4 kB / 485.6 MB, free: 15.78 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.0001715/0.1933, allocations: 121.8 kB / 485.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.89e-05/0.1934, allocations: 11.91 kB / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.868e-05/0.1935, allocations: 12.72 kB / 485.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.1935, allocations: 8.359 kB / 485.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/0.1935, allocations: 0 / 485.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.1936, allocations: 3.938 kB / 485.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008004/0.1944, allocations: 403.4 kB / 486.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.1944, allocations: 0 / 486.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.159e-05/0.1945, allocations: 8 kB / 486.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.1945, allocations: 0 / 486.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.1945, allocations: 3.938 kB / 486.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/0.1946, allocations: 15.95 kB / 486.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.1946, allocations: 0 / 486.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004377/0.195, allocations: 204.2 kB / 486.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.928e-05/0.1951, allocations: 81.02 kB / 486.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.1e-05/0.1952, allocations: 11.94 kB / 486.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.1953, allocations: 0 / 486.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.1954, allocations: 11.98 kB / 486.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.1955, allocations: 4 kB / 486.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002025/0.1957, allocations: 127.2 kB / 486.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1957, allocations: 0 / 486.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005411/0.1962, allocations: 27.98 kB / 486.6 MB, free: 14.63 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.00207/0.1983, allocations: 447.9 kB / 487.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003348/0.1987, allocations: 63.91 kB / 487.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1987, allocations: 0 / 487.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.1989, allocations: 23.94 kB / 487.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006534/0.1995, allocations: 31.91 kB / 487.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009564/0.2005, allocations: 262.7 kB / 487.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006029/0.2012, allocations: 0.7004 MB / 488.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.455e-05/0.2013, allocations: 23.44 kB / 488.1 MB, free: 13.19 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2013, allocations: 0 / 488.1 MB, free: 13.19 MB / 366.1 MB Notification: Performance of Templates: time 0.006726/0.208, allocations: 1.893 MB / 490 MB, free: 11.3 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches