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.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.0007927/0.0007927, allocations: 87.62 kB / 21.44 MB, free: 3.121 MB / 18.57 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.003806/0.003806, allocations: 159.9 kB / 24.7 MB, free: 9.434 MB / 18.57 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 0.8513/0.8513, allocations: 177.1 MB / 205 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2415/0.2415, allocations: 32.79 MB / 294.2 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 440.9 MB, free: 3.676 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.633e-05, allocations: 13.31 kB / 440.9 MB, free: 3.664 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.00249/0.002517, allocations: 2.238 MB / 443.2 MB, free: 1.406 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.004413, allocations: 1.345 MB / 444.5 MB, free: 56 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.00455, allocations: 3.938 kB / 444.5 MB, free: 52 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1725/0.1771, allocations: 288.3 kB / 444.8 MB, free: 43.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007003/0.1778, allocations: 348.7 kB / 445.2 MB, free: 43.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.1782, allocations: 218.1 kB / 445.4 MB, free: 43.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003829/0.1786, allocations: 0.5731 MB / 445.9 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.1787, allocations: 35.8 kB / 446 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002373/0.1789, allocations: 303.6 kB / 446.3 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.1791, allocations: 260.5 kB / 446.5 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.2e-05/0.1792, allocations: 18.59 kB / 446.5 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1793, allocations: 64.05 kB / 446.6 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.974e-05/0.1794, allocations: 123.8 kB / 446.7 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.396e-05/0.1794, allocations: 101.9 kB / 446.8 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.1798, allocations: 406.8 kB / 447.2 MB, free: 43.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.1798, allocations: 3.094 kB / 447.2 MB, free: 43.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1798, allocations: 5.438 kB / 447.2 MB, free: 43.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1798, allocations: 0 / 447.2 MB, free: 43.54 MB / 410.7 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.0007535/0.1805, allocations: 0.728 MB / 448 MB, free: 43.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.1806, allocations: 9.531 kB / 448 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.475e-05/0.1807, allocations: 56.31 kB / 448 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.1811, allocations: 352.7 kB / 448.4 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1811, allocations: 12.97 kB / 448.4 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.1811, allocations: 15.28 kB / 448.4 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.1814, allocations: 221.3 kB / 448.6 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.1814, allocations: 0 / 448.6 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.1814, allocations: 14.03 kB / 448.6 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1814, allocations: 2.812 kB / 448.6 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.1816, allocations: 112.7 kB / 448.7 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005268/0.1821, allocations: 0.7829 MB / 449.5 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/0.1824, allocations: 295.4 kB / 449.8 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.1825, allocations: 95.41 kB / 449.9 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.1825, allocations: 2.844 kB / 449.9 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002324/0.1828, allocations: 235.7 kB / 450.1 MB, free: 41.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.653e-06/0.1828, allocations: 4 kB / 450.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001089/0.1838, allocations: 1.072 MB / 451.2 MB, free: 41.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.1839, allocations: 167 kB / 451.4 MB, free: 41.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.1843, allocations: 0.6752 MB / 452.1 MB, free: 40.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.1843, allocations: 35.2 kB / 452.1 MB, free: 40.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.988e-05/0.1844, allocations: 239.3 kB / 452.3 MB, free: 40.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.827e-05/0.1845, allocations: 133.8 kB / 452.4 MB, free: 40.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.943e-05/0.1845, allocations: 74.02 kB / 452.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.359e-05/0.1846, allocations: 372.4 kB / 452.9 MB, free: 40.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.1847, allocations: 106.9 kB / 453 MB, free: 40.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.1849, allocations: 187.1 kB / 453.2 MB, free: 40.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.1851, allocations: 315.1 kB / 453.5 MB, free: 39.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1851, allocations: 0 / 453.5 MB, free: 39.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000392/0.1855, allocations: 416.3 kB / 453.9 MB, free: 39.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1855, allocations: 6.219 kB / 453.9 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1855, allocations: 3.219 kB / 453.9 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1856, allocations: 3.281 kB / 453.9 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.1857, allocations: 99.12 kB / 454 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1857, allocations: 3.188 kB / 454 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.1858, allocations: 16.8 kB / 454 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.1859, allocations: 20.59 kB / 454 MB, free: 39.76 MB / 410.7 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.0001296/0.186, allocations: 208.5 kB / 454.2 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/0.186, allocations: 60.59 kB / 454.3 MB, free: 39.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000497/0.1865, allocations: 0.493 MB / 454.8 MB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.1865, allocations: 6.562 kB / 454.8 MB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.1865, allocations: 6.844 kB / 454.8 MB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1865, allocations: 6.578 kB / 454.8 MB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008217/0.1874, allocations: 1.23 MB / 456 MB, free: 38.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.1874, allocations: 6.359 kB / 456 MB, free: 38.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.298e-05/0.1875, allocations: 60.08 kB / 456.1 MB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1875, allocations: 3.188 kB / 456.1 MB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.1875, allocations: 16.89 kB / 456.1 MB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.1875, allocations: 5.5 kB / 456.1 MB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1875, allocations: 10.53 kB / 456.1 MB, free: 38.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004423/0.1879, allocations: 0.8558 MB / 457 MB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/0.188, allocations: 54 kB / 457.1 MB, free: 37.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.188, allocations: 14.16 kB / 457.1 MB, free: 37.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.1882, allocations: 23.81 kB / 457.1 MB, free: 37.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.1882, allocations: 41.31 kB / 457.1 MB, free: 37.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.1883, allocations: 27.53 kB / 457.2 MB, free: 37.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000285/0.1885, allocations: 0.4944 MB / 457.6 MB, free: 37.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1885, allocations: 0 / 457.6 MB, free: 37.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003566/0.1889, allocations: 86.75 kB / 457.7 MB, free: 37.69 MB / 410.7 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 (45): * Single equations (assignments): 35 * 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.0007568/0.1897, allocations: 0.5059 MB / 458.2 MB, free: 37.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003477/0.19, allocations: 296.9 kB / 458.5 MB, free: 37.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.19, allocations: 0 / 458.5 MB, free: 37.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.1902, allocations: 158.4 kB / 458.7 MB, free: 37.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006325/0.1908, allocations: 142.1 kB / 458.8 MB, free: 37.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009032/0.1917, allocations: 0.9761 MB / 459.8 MB, free: 36.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.1919, allocations: 267.2 kB / 460.1 MB, free: 36.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.05e-05/0.1919, allocations: 61.53 kB / 460.1 MB, free: 36.65 MB / 410.7 MB Notification: Performance of SimCode: time 8.71e-07/0.1919, allocations: 0 / 460.1 MB, free: 36.65 MB / 410.7 MB Notification: Performance of Templates: time 0.006022/0.198, allocations: 6.814 MB / 466.9 MB, free: 35.82 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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.299391807988286]