Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 105.4 kB / 18.4 MB, free: 4.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 188 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 222.9 MB / 243 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2571/0.2571, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 70.11 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1695, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.006336/0.1759, allocations: 2.301 MB / 473 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003033/0.179, allocations: 1.282 MB / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002172/0.1792, allocations: 7.938 kB / 474.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008099/0.18, allocations: 287.1 kB / 474.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006801/0.1808, allocations: 266.9 kB / 474.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.1821, allocations: 379.6 kB / 475.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.1832, allocations: 0.5103 MB / 475.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/0.1834, allocations: 61 kB / 475.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004494/0.1839, allocations: 223.1 kB / 476 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004319/0.1843, allocations: 266.9 kB / 476.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.589e-05/0.1844, allocations: 20 kB / 476.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.1846, allocations: 59.92 kB / 476.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.1848, allocations: 99.66 kB / 476.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.185, allocations: 170.7 kB / 476.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004888/0.1854, allocations: 402.4 kB / 477 MB, free: 7.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.116e-06/0.1855, allocations: 3.984 kB / 477 MB, free: 7.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1855, allocations: 0 / 477 MB, free: 7.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.1855, allocations: 0 / 477 MB, free: 7.324 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001461/0.187, allocations: 0.7592 MB / 477.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.187, allocations: 8.031 kB / 477.8 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.1871, allocations: 60.2 kB / 477.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000735/0.1879, allocations: 399.9 kB / 478.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.1879, allocations: 12.38 kB / 478.2 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.654e-05/0.188, allocations: 16.12 kB / 478.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005006/0.1885, allocations: 201.8 kB / 478.4 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.1885, allocations: 15.78 kB / 478.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.1886, allocations: 4 kB / 478.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.1886, allocations: 4 kB / 478.5 MB, free: 5.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000328/0.1889, allocations: 99.86 kB / 478.6 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.1901, allocations: 0.8488 MB / 479.4 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006284/0.1908, allocations: 301.2 kB / 479.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.191, allocations: 96.25 kB / 479.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.89e-05/0.191, allocations: 4 kB / 479.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004371/0.1915, allocations: 227.9 kB / 480 MB, free: 4.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.574e-06/0.1915, allocations: 3.938 kB / 480 MB, free: 4.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002254/0.1937, allocations: 0.973 MB / 481 MB, free: 3.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.1939, allocations: 162.2 kB / 481.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006847/0.1946, allocations: 0.6198 MB / 481.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.1946, allocations: 33.7 kB / 481.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.1948, allocations: 221.1 kB / 482 MB, free: 1.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.1949, allocations: 118.4 kB / 482.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.195, allocations: 78.12 kB / 482.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.1952, allocations: 374.8 kB / 482.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.1954, allocations: 96.83 kB / 482.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.1957, allocations: 188.8 kB / 482.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000576/0.1963, allocations: 300.7 kB / 483.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1963, allocations: 0 / 483.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007933/0.1971, allocations: 400.9 kB / 483.6 MB, free: 360 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.1972, allocations: 8 kB / 483.6 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1972, allocations: 80 / 483.6 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.1972, allocations: 8.156 kB / 483.6 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.1975, allocations: 92.2 kB / 483.7 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.1975, allocations: 7.984 kB / 483.7 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.1977, allocations: 15.98 kB / 483.7 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/0.1979, allocations: 20 kB / 483.7 MB, free: 208 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002528/0.1982, allocations: 212.3 kB / 483.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.1983, allocations: 59.28 kB / 484 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.1985, allocations: 59.91 kB / 484 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.1985, allocations: 12 kB / 484 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.1985, allocations: 0 / 484 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.1985, allocations: 3.984 kB / 484 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.2002, allocations: 1.264 MB / 485.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.2002, allocations: 4 kB / 485.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.2004, allocations: 43.92 kB / 485.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.2004, allocations: 4 kB / 485.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.2004, allocations: 19.92 kB / 485.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/0.2004, allocations: 11.88 kB / 485.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.2004, allocations: 4 kB / 485.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009709/0.2014, allocations: 0.813 MB / 486.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.2015, allocations: 128.4 kB / 486.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.229e-05/0.2016, allocations: 15.94 kB / 486.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.2019, allocations: 19.98 kB / 486.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.93e-05/0.202, allocations: 31.95 kB / 486.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/0.2021, allocations: 27.98 kB / 486.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004952/0.2026, allocations: 450.8 kB / 486.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2026, allocations: 0 / 486.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005265/0.2031, allocations: 84 kB / 487 MB, free: 12.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001161/0.2043, allocations: 491.5 kB / 487.4 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006216/0.2049, allocations: 291.6 kB / 487.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2049, allocations: 4 kB / 487.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002802/0.2052, allocations: 144.4 kB / 487.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.2062, allocations: 157.5 kB / 488 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.2077, allocations: 0.8609 MB / 488.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004952/0.2082, allocations: 0.8473 MB / 489.7 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002057/0.2084, allocations: 83.39 kB / 489.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.2085, allocations: 51.42 kB / 489.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2085, allocations: 0 / 489.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of Templates: time 0.01102/0.2195, allocations: 5.645 MB / 495.5 MB, free: 4.43 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches