Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001733/0.001733, allocations: 123.9 kB / 18.46 MB, free: 4.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002045/0.002045, allocations: 205.8 kB / 21.41 MB, free: 1.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 227.4 MB / 251.6 MB, free: 64 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2399/0.2399, allocations: 46.16 MB / 351.1 MB, free: 14.28 MB / 286.1 MB " [Timeout remaining time 180] 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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 79.44 kB / 490.3 MB, free: 27.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1655, allocations: 62.44 MB / 0.5397 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004419/0.17, allocations: 2.375 MB / 0.5421 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002644/0.1726, allocations: 1.385 MB / 0.5434 GB, free: 392 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.1728, allocations: 7.938 kB / 0.5434 GB, free: 384 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006355/0.1734, allocations: 303 kB / 0.5437 GB, free: 80 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007159/0.1742, allocations: 330.6 kB / 0.544 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005301/0.1748, allocations: 215.5 kB / 0.5442 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007543/0.1755, allocations: 0.553 MB / 0.5448 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.1757, allocations: 69 kB / 0.5448 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003237/0.1761, allocations: 239 kB / 0.5451 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003355/0.1764, allocations: 270.9 kB / 0.5453 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.13e-05/0.1765, allocations: 20 kB / 0.5453 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.1766, allocations: 51.98 kB / 0.5454 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.1768, allocations: 107.5 kB / 0.5455 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.177, allocations: 190.6 kB / 0.5457 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005402/0.1775, allocations: 425.9 kB / 0.5461 GB, free: 13.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1775, allocations: 0 / 0.5461 GB, free: 13.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1776, allocations: 0 / 0.5461 GB, free: 13.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1776, allocations: 0 / 0.5461 GB, free: 13.64 MB / 414.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.001274/0.1788, allocations: 0.8169 MB / 0.5469 GB, free: 12.76 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.1789, allocations: 12.03 kB / 0.5469 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.1791, allocations: 64.48 kB / 0.547 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006316/0.1797, allocations: 428.2 kB / 0.5474 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.1798, allocations: 12.36 kB / 0.5474 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.1798, allocations: 16.38 kB / 0.5474 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004301/0.1802, allocations: 206.1 kB / 0.5476 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.1803, allocations: 4 kB / 0.5476 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.1803, allocations: 7.938 kB / 0.5476 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.1803, allocations: 8 kB / 0.5476 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002622/0.1806, allocations: 99.86 kB / 0.5477 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009967/0.1816, allocations: 0.8605 MB / 0.5485 GB, free: 10.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006312/0.1822, allocations: 285.3 kB / 0.5488 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.1825, allocations: 104.2 kB / 0.5489 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.752e-05/0.1825, allocations: 11.97 kB / 0.5489 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000431/0.1829, allocations: 220.7 kB / 0.5491 GB, free: 10.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.1829, allocations: 0 / 0.5491 GB, free: 10.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002354/0.1853, allocations: 1.046 MB / 0.5502 GB, free: 9.188 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001702/0.1855, allocations: 174.2 kB / 0.5503 GB, free: 8.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007959/0.1863, allocations: 0.6475 MB / 0.551 GB, free: 8.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/0.1863, allocations: 37.7 kB / 0.551 GB, free: 8.277 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.1866, allocations: 241 kB / 0.5512 GB, free: 8.039 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.1867, allocations: 123 kB / 0.5513 GB, free: 7.918 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.1868, allocations: 74.12 kB / 0.5514 GB, free: 7.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.187, allocations: 374.8 kB / 0.5518 GB, free: 7.465 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.1873, allocations: 100.8 kB / 0.5519 GB, free: 7.367 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.1876, allocations: 184.8 kB / 0.552 GB, free: 7.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005389/0.1881, allocations: 300.7 kB / 0.5523 GB, free: 6.836 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1881, allocations: 0 / 0.5523 GB, free: 6.836 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008916/0.189, allocations: 413 kB / 0.5527 GB, free: 6.426 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.1891, allocations: 7.938 kB / 0.5527 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1891, allocations: 4 kB / 0.5527 GB, free: 6.414 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1891, allocations: 4 kB / 0.5527 GB, free: 6.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.1894, allocations: 87.83 kB / 0.5528 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.1894, allocations: 4 kB / 0.5528 GB, free: 6.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.1896, allocations: 20.14 kB / 0.5528 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.1897, allocations: 20 kB / 0.5529 GB, free: 6.281 MB / 414.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.0003457/0.19, allocations: 208.2 kB / 0.5531 GB, free: 6.066 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.1901, allocations: 71.52 kB / 0.5531 GB, free: 5.996 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.1902, allocations: 64.41 kB / 0.5532 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1903, allocations: 4 kB / 0.5532 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.1903, allocations: 0 / 0.5532 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.1903, allocations: 7.984 kB / 0.5532 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.1921, allocations: 1.277 MB / 0.5544 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.1921, allocations: 8.141 kB / 0.5545 GB, free: 4.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.1922, allocations: 51.92 kB / 0.5545 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.1922, allocations: 4 kB / 0.5545 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.1923, allocations: 11.98 kB / 0.5545 GB, free: 4.492 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.1923, allocations: 7.938 kB / 0.5545 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.1923, allocations: 7.938 kB / 0.5545 GB, free: 4.477 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.1936, allocations: 0.8204 MB / 0.5553 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.1937, allocations: 132.7 kB / 0.5555 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.047e-05/0.1938, allocations: 16 kB / 0.5555 GB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/0.1941, allocations: 19.92 kB / 0.5555 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-05/0.1942, allocations: 31.95 kB / 0.5555 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-05/0.1943, allocations: 20.38 kB / 0.5555 GB, free: 3.387 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005885/0.1949, allocations: 494.8 kB / 0.556 GB, free: 2.906 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1949, allocations: 0 / 0.556 GB, free: 2.906 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005631/0.1954, allocations: 87.88 kB / 0.5561 GB, free: 2.82 MB / 414.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.001786/0.1972, allocations: 480.6 kB / 0.5566 GB, free: 2.508 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006716/0.1979, allocations: 291.6 kB / 0.5568 GB, free: 2.223 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1979, allocations: 0 / 0.5568 GB, free: 2.223 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003255/0.1983, allocations: 149 kB / 0.557 GB, free: 2.078 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.1993, allocations: 149.8 kB / 0.5571 GB, free: 1.938 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.2009, allocations: 0.907 MB / 0.558 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005514/0.2014, allocations: 0.8629 MB / 0.5589 GB, free: 84 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002438/0.2017, allocations: 92.17 kB / 0.5589 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.2018, allocations: 51.36 kB / 0.559 GB, free: 15.94 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2018, allocations: 0 / 0.559 GB, free: 15.94 MB / 430.1 MB Notification: Performance of Templates: time 0.01242/0.2142, allocations: 5.797 MB / 0.5647 GB, free: 10.2 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.405997959896922]