Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,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.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001254/0.001259, 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.001346/0.001346, 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.483/1.483, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2407/0.2407, allocations: 46.11 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 77.19 kB / 417.7 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1728, allocations: 62.45 MB / 480.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.004139/0.177, allocations: 1.925 MB / 482 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002383/0.1794, allocations: 1.134 MB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.1795, allocations: 0 / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006554/0.1802, allocations: 227.3 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006015/0.1809, allocations: 207.2 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.1812, allocations: 115.6 kB / 483.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004637/0.1817, allocations: 259.2 kB / 484 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.1819, allocations: 25.67 kB / 484 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.1822, allocations: 115.6 kB / 484.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.1824, allocations: 167.4 kB / 484.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.439e-05/0.1825, allocations: 8 kB / 484.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.1827, allocations: 63.98 kB / 484.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.1828, allocations: 59.75 kB / 484.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.1829, allocations: 87.31 kB / 484.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004328/0.1834, allocations: 239.4 kB / 484.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.1834, allocations: 0 / 484.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1834, allocations: 0 / 484.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.1834, allocations: 0 / 484.7 MB, free: 0.5977 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.0009523/0.1844, allocations: 0.5643 MB / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.1844, allocations: 8.031 kB / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.41e-05/0.1845, allocations: 36.5 kB / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004092/0.1849, allocations: 288 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.185, allocations: 12.36 kB / 485.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/0.185, allocations: 8.125 kB / 485.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.1853, allocations: 111.3 kB / 485.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.1854, allocations: 0 / 485.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1854, allocations: 12 kB / 485.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.1854, allocations: 0 / 485.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.1855, allocations: 47.89 kB / 485.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006738/0.1862, allocations: 472.8 kB / 486.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004125/0.1867, allocations: 129.2 kB / 486.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.1868, allocations: 41.83 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.1868, allocations: 4 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000367/0.1872, allocations: 124.4 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.1872, allocations: 0 / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001433/0.1886, allocations: 0.4997 MB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/0.1887, allocations: 81.11 kB / 487.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005216/0.1893, allocations: 444.5 kB / 487.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.1893, allocations: 37.64 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.1895, allocations: 160.5 kB / 487.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.101e-05/0.1896, allocations: 78.98 kB / 487.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-05/0.1896, allocations: 37.72 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.1899, allocations: 342.8 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.19, allocations: 59.97 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.1902, allocations: 91.41 kB / 488.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.1905, allocations: 159.3 kB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1905, allocations: 0 / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004158/0.1909, allocations: 237.3 kB / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.1909, allocations: 7.938 kB / 488.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1909, allocations: 4.062 kB / 488.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.981e-05/0.191, allocations: 4 kB / 488.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.1911, allocations: 47.91 kB / 488.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.1911, allocations: 4 kB / 488.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.11e-05/0.1912, allocations: 8 kB / 488.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.1913, allocations: 9.172 kB / 488.8 MB, free: 12.2 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.0002/0.1915, allocations: 161.8 kB / 489 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.1915, allocations: 39.47 kB / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.371e-05/0.1916, allocations: 50.8 kB / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.1917, allocations: 4 kB / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.1917, allocations: 0 / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1917, allocations: 0 / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.1928, allocations: 0.7388 MB / 489.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1928, allocations: 0 / 489.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.446e-05/0.1929, allocations: 27.98 kB / 489.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.255e-05/0.1929, allocations: 4 kB / 489.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.1929, allocations: 11.94 kB / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1929, allocations: 0 / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.1929, allocations: 4 kB / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005343/0.1935, allocations: 429.3 kB / 490.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-05/0.1936, allocations: 100.7 kB / 490.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/0.1936, allocations: 11.98 kB / 490.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.1938, allocations: 12 kB / 490.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.231e-05/0.1938, allocations: 19.92 kB / 490.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.639e-05/0.1939, allocations: 15.98 kB / 490.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000368/0.1943, allocations: 335 kB / 490.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1943, allocations: 0 / 490.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003554/0.1946, allocations: 44 kB / 490.8 MB, free: 10.1 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.002058/0.1967, allocations: 0.5129 MB / 491.3 MB, free: 9.766 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000416/0.1971, allocations: 167.8 kB / 491.5 MB, free: 9.602 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.1971, allocations: 0 / 491.5 MB, free: 9.602 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.1973, allocations: 87.78 kB / 491.6 MB, free: 9.516 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005879/0.1979, allocations: 70.78 kB / 491.6 MB, free: 9.457 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009548/0.1989, allocations: 0.5555 MB / 492.2 MB, free: 8.859 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.1993, allocations: 0.7792 MB / 493 MB, free: 8.055 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001208/0.1994, allocations: 41.92 kB / 493 MB, free: 8.008 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.1995, allocations: 31.42 kB / 493 MB, free: 7.977 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1995, allocations: 0 / 493 MB, free: 7.977 MB / 366.1 MB Notification: Performance of Templates: time 0.007769/0.2073, allocations: 3.139 MB / 496.2 MB, free: 4.863 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches