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.001874/0.001884, allocations: 116.9 kB / 19.13 MB, free: 3.922 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.002467/0.002468, allocations: 210.6 kB / 22.08 MB, free: 0.9727 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.522/1.522, allocations: 227.4 MB / 252.3 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.256/0.256, allocations: 46.17 MB / 351.8 MB, free: 14.29 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.002506/0.002506, allocations: 79.08 kB / 490.9 MB, free: 28.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1637, allocations: 62.45 MB / 0.5404 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.007123/0.1709, allocations: 2.364 MB / 0.5427 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005083/0.1761, allocations: 1.389 MB / 0.5441 GB, free: 416 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004108/0.1765, allocations: 7.938 kB / 0.5441 GB, free: 408 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.1777, allocations: 299 kB / 0.5444 GB, free: 108 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00148/0.1792, allocations: 334.6 kB / 0.5447 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009697/0.1802, allocations: 215.5 kB / 0.5449 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.1815, allocations: 0.553 MB / 0.5454 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002753/0.1818, allocations: 61 kB / 0.5455 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006497/0.1825, allocations: 247 kB / 0.5457 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006631/0.1832, allocations: 266.9 kB / 0.546 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.1833, allocations: 20 kB / 0.546 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002927/0.1836, allocations: 48 kB / 0.546 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002548/0.1839, allocations: 115.5 kB / 0.5462 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003635/0.1843, allocations: 186.6 kB / 0.5463 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009836/0.1853, allocations: 425.9 kB / 0.5467 GB, free: 13.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1853, allocations: 0 / 0.5467 GB, free: 13.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1853, allocations: 4 kB / 0.5467 GB, free: 13.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.448e-05/0.1854, allocations: 4 kB / 0.5467 GB, free: 13.66 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.002365/0.1877, allocations: 0.8158 MB / 0.5475 GB, free: 12.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.989e-05/0.1878, allocations: 8.031 kB / 0.5476 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002014/0.188, allocations: 60.5 kB / 0.5476 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.1893, allocations: 440.2 kB / 0.548 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.032e-05/0.1893, allocations: 8.375 kB / 0.548 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-05/0.1894, allocations: 20.36 kB / 0.5481 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007234/0.1902, allocations: 198.2 kB / 0.5482 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.922e-05/0.1902, allocations: 7.984 kB / 0.5483 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/0.1903, allocations: 4 kB / 0.5483 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.1903, allocations: 4 kB / 0.5483 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005024/0.1908, allocations: 103.8 kB / 0.5484 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.1925, allocations: 0.8683 MB / 0.5492 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.1937, allocations: 289.2 kB / 0.5495 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004248/0.1942, allocations: 96.27 kB / 0.5496 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.244e-05/0.1942, allocations: 11.98 kB / 0.5496 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007792/0.195, allocations: 224.7 kB / 0.5498 GB, free: 10.26 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 4.098e-06/0.1951, allocations: 0 / 0.5498 GB, free: 10.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.003973/0.1991, allocations: 1.042 MB / 0.5508 GB, free: 9.211 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001609/0.1992, allocations: 162.2 kB / 0.551 GB, free: 9.016 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/0.2007, allocations: 0.6514 MB / 0.5516 GB, free: 8.352 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.544e-05/0.2008, allocations: 41.7 kB / 0.5517 GB, free: 8.305 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002953/0.2011, allocations: 237 kB / 0.5519 GB, free: 8.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000218/0.2014, allocations: 127 kB / 0.552 GB, free: 7.945 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.2016, allocations: 70.12 kB / 0.5521 GB, free: 7.871 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002979/0.2019, allocations: 378.8 kB / 0.5524 GB, free: 7.492 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004646/0.2024, allocations: 96.83 kB / 0.5525 GB, free: 7.398 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005796/0.203, allocations: 188.8 kB / 0.5527 GB, free: 7.188 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009635/0.2039, allocations: 300.4 kB / 0.553 GB, free: 6.863 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.204, allocations: 0 / 0.553 GB, free: 6.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001529/0.2055, allocations: 413 kB / 0.5534 GB, free: 6.453 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.2055, allocations: 7.938 kB / 0.5534 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.2056, allocations: 4 kB / 0.5534 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/0.2056, allocations: 4 kB / 0.5534 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005498/0.2062, allocations: 83.84 kB / 0.5535 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-05/0.2062, allocations: 7.984 kB / 0.5535 GB, free: 6.348 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/0.2066, allocations: 16 kB / 0.5535 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.213e-05/0.2067, allocations: 23.98 kB / 0.5535 GB, free: 6.309 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.0004411/0.2071, allocations: 208.3 kB / 0.5537 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/0.2073, allocations: 71.69 kB / 0.5538 GB, free: 6.023 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002039/0.2075, allocations: 68.41 kB / 0.5539 GB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.2076, allocations: 4 kB / 0.5539 GB, free: 5.949 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.2076, allocations: 4 kB / 0.5539 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-05/0.2076, allocations: 7.984 kB / 0.5539 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003075/0.2107, allocations: 1.277 MB / 0.5551 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.2107, allocations: 3.938 kB / 0.5551 GB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/0.211, allocations: 51.91 kB / 0.5552 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-05/0.2111, allocations: 4 kB / 0.5552 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-05/0.2111, allocations: 16.16 kB / 0.5552 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.64e-05/0.2112, allocations: 7.922 kB / 0.5552 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.309e-05/0.2112, allocations: 7.938 kB / 0.5552 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.2129, allocations: 0.8243 MB / 0.556 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/0.2132, allocations: 124.7 kB / 0.5561 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.2133, allocations: 19.98 kB / 0.5561 GB, free: 3.477 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006473/0.214, allocations: 23.92 kB / 0.5562 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.2141, allocations: 27.97 kB / 0.5562 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.533e-05/0.2142, allocations: 23.98 kB / 0.5562 GB, free: 3.402 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001015/0.2153, allocations: 490.8 kB / 0.5567 GB, free: 2.926 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2153, allocations: 0 / 0.5567 GB, free: 2.926 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001032/0.2163, allocations: 79.94 kB / 0.5568 GB, free: 2.848 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.002936/0.2193, allocations: 489 kB / 0.5572 GB, free: 2.539 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.2205, allocations: 288.3 kB / 0.5575 GB, free: 2.258 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.2205, allocations: 0 / 0.5575 GB, free: 2.258 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005723/0.2211, allocations: 156.5 kB / 0.5577 GB, free: 2.105 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/0.2231, allocations: 146.7 kB / 0.5578 GB, free: 1.973 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/0.226, allocations: 0.952 MB / 0.5587 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008755/0.2269, allocations: 0.859 MB / 0.5596 GB, free: 72 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/0.2272, allocations: 59.42 kB / 0.5596 GB, free: 12 kB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2272, allocations: 0 / 0.5596 GB, free: 12 kB / 414.1 MB Notification: Performance of Templates: time 0.02036/0.2476, allocations: 6.594 MB / 0.5661 GB, free: 9.441 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.965221026912332]