Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.678/1.678, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2522/0.2522, allocations: 46.93 MB / 357.1 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003105/0.003105, allocations: 71.89 kB / 0.4915 GB, free: 7.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1703, allocations: 66 MB / 0.5559 GB, free: 5.309 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003832/0.1742, allocations: 2.37 MB / 0.5582 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00256/0.1767, allocations: 1.406 MB / 0.5596 GB, free: 1.516 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.1769, allocations: 19.81 kB / 0.5596 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005483/0.1774, allocations: 287 kB / 0.5599 GB, free: 1.215 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006477/0.1781, allocations: 342.6 kB / 0.5602 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004256/0.1785, allocations: 215.5 kB / 0.5604 GB, free: 0.668 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006568/0.1791, allocations: 0.5608 MB / 0.561 GB, free: 108 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1793, allocations: 37.09 kB / 0.561 GB, free: 68 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003504/0.1796, allocations: 247 kB / 0.5613 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003557/0.18, allocations: 298.8 kB / 0.5615 GB, free: 15.53 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.587e-05/0.18, allocations: 24 kB / 0.5616 GB, free: 15.51 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.1802, allocations: 51.98 kB / 0.5616 GB, free: 15.46 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.1803, allocations: 115.5 kB / 0.5617 GB, free: 15.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001879/0.1805, allocations: 186.6 kB / 0.5619 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005255/0.181, allocations: 425.8 kB / 0.5623 GB, free: 14.74 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.181, allocations: 0 / 0.5623 GB, free: 14.74 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.181, allocations: 0 / 0.5623 GB, free: 14.74 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.181, allocations: 0 / 0.5623 GB, free: 14.74 MB / 430.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.001308/0.1823, allocations: 0.8208 MB / 0.5631 GB, free: 13.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1824, allocations: 12.03 kB / 0.5631 GB, free: 13.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.1825, allocations: 60.56 kB / 0.5632 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006353/0.1831, allocations: 428.3 kB / 0.5636 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.1831, allocations: 8.375 kB / 0.5636 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.934e-05/0.1832, allocations: 20.12 kB / 0.5636 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004421/0.1836, allocations: 201.8 kB / 0.5638 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.1837, allocations: 7.938 kB / 0.5638 GB, free: 13.08 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.1837, allocations: 4 kB / 0.5638 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.1837, allocations: 4 kB / 0.5638 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002765/0.184, allocations: 99.86 kB / 0.5639 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009804/0.1849, allocations: 0.8644 MB / 0.5648 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006821/0.1856, allocations: 281.3 kB / 0.565 GB, free: 11.72 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.1858, allocations: 92.19 kB / 0.5651 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.1859, allocations: 7.984 kB / 0.5651 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004297/0.1863, allocations: 223.5 kB / 0.5653 GB, free: 11.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 1.703e-06/0.1863, allocations: 3.938 kB / 0.5653 GB, free: 11.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.002254/0.1886, allocations: 1.042 MB / 0.5664 GB, free: 10.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.1887, allocations: 158.2 kB / 0.5665 GB, free: 10.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008044/0.1895, allocations: 0.6631 MB / 0.5672 GB, free: 9.441 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.1895, allocations: 37.7 kB / 0.5672 GB, free: 9.398 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.1897, allocations: 233 kB / 0.5674 GB, free: 9.168 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.1898, allocations: 134.9 kB / 0.5675 GB, free: 9.035 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.1899, allocations: 70.14 kB / 0.5676 GB, free: 8.961 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.1901, allocations: 378.7 kB / 0.568 GB, free: 8.582 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.1904, allocations: 96.83 kB / 0.5681 GB, free: 8.488 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/0.1907, allocations: 184.8 kB / 0.5682 GB, free: 8.277 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005741/0.1913, allocations: 296.5 kB / 0.5685 GB, free: 7.957 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.1913, allocations: 4 kB / 0.5685 GB, free: 7.953 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008055/0.1921, allocations: 408.9 kB / 0.5689 GB, free: 7.547 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1921, allocations: 8 kB / 0.5689 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1921, allocations: 0 / 0.5689 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.1921, allocations: 4.375 kB / 0.5689 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.1924, allocations: 87.98 kB / 0.569 GB, free: 7.449 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.1925, allocations: 4 kB / 0.569 GB, free: 7.445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.1927, allocations: 27.98 kB / 0.569 GB, free: 7.418 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/0.1927, allocations: 16 kB / 0.5691 GB, free: 7.402 MB / 430.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.0002299/0.1929, allocations: 210.5 kB / 0.5693 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.193, allocations: 71.52 kB / 0.5693 GB, free: 7.121 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.1932, allocations: 68.39 kB / 0.5694 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.1932, allocations: 4 kB / 0.5694 GB, free: 7.047 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.1932, allocations: 8 kB / 0.5694 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.1932, allocations: 0 / 0.5694 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.195, allocations: 1.285 MB / 0.5707 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.1951, allocations: 4 kB / 0.5707 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.1952, allocations: 47.92 kB / 0.5707 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.1952, allocations: 4 kB / 0.5707 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/0.1952, allocations: 19.92 kB / 0.5707 GB, free: 5.605 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.1952, allocations: 7.938 kB / 0.5707 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.1952, allocations: 4 kB / 0.5707 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000986/0.1962, allocations: 0.8206 MB / 0.5715 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.1963, allocations: 128.7 kB / 0.5717 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.809e-05/0.1964, allocations: 15.94 kB / 0.5717 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003429/0.1968, allocations: 19.98 kB / 0.5717 GB, free: 4.559 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.475e-05/0.1968, allocations: 31.95 kB / 0.5717 GB, free: 4.527 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/0.1969, allocations: 23.98 kB / 0.5718 GB, free: 4.504 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005894/0.1975, allocations: 490.8 kB / 0.5722 GB, free: 4.027 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1975, allocations: 0 / 0.5722 GB, free: 4.027 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005846/0.1981, allocations: 87.92 kB / 0.5723 GB, free: 3.941 MB / 430.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.001856/0.1999, allocations: 488.2 kB / 0.5728 GB, free: 3.641 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006886/0.2006, allocations: 272.2 kB / 0.573 GB, free: 3.375 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2006, allocations: 0 / 0.573 GB, free: 3.375 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003286/0.2009, allocations: 140.6 kB / 0.5732 GB, free: 3.238 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.2021, allocations: 152.1 kB / 0.5733 GB, free: 3.102 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.2036, allocations: 0.9148 MB / 0.5742 GB, free: 2.133 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/0.2041, allocations: 0.8596 MB / 0.575 GB, free: 1.242 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000217/0.2043, allocations: 84.11 kB / 0.5751 GB, free: 1.156 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.2045, allocations: 51.42 kB / 0.5752 GB, free: 1.105 MB / 430.1 MB Notification: Performance of SimCode: time 6.82e-07/0.2045, allocations: 4 kB / 0.5752 GB, free: 1.102 MB / 430.1 MB Notification: Performance of Templates: time 0.01236/0.2169, allocations: 5.829 MB / 0.5809 GB, free: 11.33 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.971531484276056]