Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001636/0.001636, 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.002104/0.002103, 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.273/2.273, allocations: 227.4 MB / 246.9 MB, free: 10.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.349/0.349, allocations: 46.11 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002333/0.002333, allocations: 77.78 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.173, allocations: 62.44 MB / 479.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.004951/0.178, allocations: 1.984 MB / 481.9 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00302/0.181, allocations: 1.123 MB / 483.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.1812, allocations: 0 / 483.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006461/0.1819, allocations: 219.5 kB / 483.3 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005966/0.1825, allocations: 191.5 kB / 483.5 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.1829, allocations: 91.84 kB / 483.5 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004182/0.1833, allocations: 251.2 kB / 483.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.1835, allocations: 25.67 kB / 483.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.1837, allocations: 107.5 kB / 483.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.184, allocations: 159.4 kB / 484.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.791e-05/0.1841, allocations: 8 kB / 484.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.1843, allocations: 55.98 kB / 484.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.1844, allocations: 59.75 kB / 484.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.1845, allocations: 87.23 kB / 484.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.1849, allocations: 180 kB / 484.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1849, allocations: 0 / 484.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1849, allocations: 0 / 484.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.1849, allocations: 4 kB / 484.5 MB, free: 1.188 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001052/0.186, allocations: 0.5681 MB / 485 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.1861, allocations: 8.031 kB / 485 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.112e-05/0.1862, allocations: 24.66 kB / 485.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.1866, allocations: 292 kB / 485.3 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.1867, allocations: 4.375 kB / 485.3 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.1867, allocations: 12.12 kB / 485.4 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/0.1871, allocations: 113.1 kB / 485.5 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.1871, allocations: 4 kB / 485.5 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.1871, allocations: 7.938 kB / 485.5 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1872, allocations: 0 / 485.5 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/0.1874, allocations: 47.95 kB / 485.5 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008175/0.1882, allocations: 480.8 kB / 486 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005584/0.1888, allocations: 121.2 kB / 486.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.189, allocations: 45.83 kB / 486.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.189, allocations: 7.938 kB / 486.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004217/0.1894, allocations: 121 kB / 486.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 2.034e-06/0.1895, allocations: 0 / 486.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.002089/0.1916, allocations: 0.4921 MB / 486.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.688e-05/0.1917, allocations: 89.05 kB / 486.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007285/0.1924, allocations: 448.5 kB / 487.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.1924, allocations: 29.7 kB / 487.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.1926, allocations: 164.3 kB / 487.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.903e-05/0.1927, allocations: 75.08 kB / 487.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.1928, allocations: 37.72 kB / 487.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.193, allocations: 350.8 kB / 487.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.1933, allocations: 59.97 kB / 488 MB, free: 13.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.1935, allocations: 87.41 kB / 488.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004654/0.194, allocations: 163.4 kB / 488.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.194, allocations: 0 / 488.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006854/0.1947, allocations: 233.2 kB / 488.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.1948, allocations: 15.88 kB / 488.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1948, allocations: 0 / 488.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.1948, allocations: 4 kB / 488.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.1951, allocations: 39.97 kB / 488.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.1951, allocations: 4 kB / 488.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.1953, allocations: 8 kB / 488.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.1953, allocations: 4 kB / 488.6 MB, free: 12.8 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002334/0.1956, allocations: 178.3 kB / 488.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.868e-05/0.1957, allocations: 39.47 kB / 488.8 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.1958, allocations: 42.8 kB / 488.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.1958, allocations: 4 kB / 488.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.1958, allocations: 0 / 488.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1958, allocations: 0 / 488.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.1973, allocations: 0.735 MB / 489.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.1973, allocations: 4 kB / 489.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.1974, allocations: 31.92 kB / 489.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1975, allocations: 0 / 489.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.1975, allocations: 12 kB / 489.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1975, allocations: 0 / 489.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.1975, allocations: 8.125 kB / 489.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007808/0.1983, allocations: 425.3 kB / 490 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.419e-05/0.1984, allocations: 104.7 kB / 490.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.941e-05/0.1985, allocations: 11.98 kB / 490.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.1988, allocations: 8 kB / 490.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.631e-05/0.1989, allocations: 23.91 kB / 490.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/0.1989, allocations: 12 kB / 490.2 MB, free: 11.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005234/0.1995, allocations: 331 kB / 490.5 MB, free: 10.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1995, allocations: 0 / 490.5 MB, free: 10.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006811/0.2002, allocations: 48 kB / 490.5 MB, free: 10.69 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001995/0.2022, allocations: 0.5166 MB / 491.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005473/0.2028, allocations: 155.8 kB / 491.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.2028, allocations: 4 kB / 491.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002584/0.2031, allocations: 80.03 kB / 491.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009684/0.204, allocations: 66.27 kB / 491.4 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.2055, allocations: 0.664 MB / 492 MB, free: 9.344 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004867/0.206, allocations: 0.7716 MB / 492.8 MB, free: 8.543 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.2061, allocations: 31.42 kB / 492.8 MB, free: 8.512 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2061, allocations: 4 kB / 492.8 MB, free: 8.508 MB / 366.1 MB Notification: Performance of Templates: time 0.008979/0.2151, allocations: 3.741 MB / 496.6 MB, free: 4.781 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y,d2_t_new.y,d2_t_new_2.y Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time