Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.001361/0.001361, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.0009935/0.0009935, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.015/1.015, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1417/0.1417, allocations: 32.37 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 299.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.689e-05, allocations: 2.312 kB / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.1601/0.1601, allocations: 7.295 MB / 306.4 MB, free: 16.85 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005396/0.1655, allocations: 2.493 MB / 308.9 MB, free: 15.22 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008986/0.1664, allocations: 26.81 kB / 308.9 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007017/0.1671, allocations: 211.6 kB / 309.2 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00208/0.1692, allocations: 0.7611 MB / 309.9 MB, free: 14.64 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002349/0.1715, allocations: 0.8239 MB / 310.7 MB, free: 14.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00281/0.1743, allocations: 1.853 MB / 312.6 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009773/0.1753, allocations: 415.6 kB / 313 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002925/0.1782, allocations: 1.001 MB / 314 MB, free: 12.7 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001196/0.1794, allocations: 0.5547 MB / 314.6 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001845/0.1796, allocations: 59.12 kB / 314.6 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006517/0.1802, allocations: 203.7 kB / 314.8 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002313/0.1805, allocations: 281.6 kB / 315.1 MB, free: 12.19 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003516/0.1808, allocations: 278.3 kB / 315.4 MB, free: 12.06 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.1821, allocations: 0.7587 MB / 316.1 MB, free: 11.6 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1821, allocations: 4 kB / 316.1 MB, free: 11.6 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1821, allocations: 5.281 kB / 316.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.495e-05/0.1821, allocations: 0 / 316.1 MB, free: 11.59 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001684/0.1838, allocations: 0.9291 MB / 317.1 MB, free: 10.89 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1838, allocations: 9.438 kB / 317.1 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003165/0.1842, allocations: 125.8 kB / 317.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005956/0.1847, allocations: 440.6 kB / 317.6 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.374e-05/0.1848, allocations: 147.6 kB / 317.8 MB, free: 10.38 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.945e-05/0.1849, allocations: 61.09 kB / 317.8 MB, free: 10.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006895/0.1856, allocations: 0.8301 MB / 318.7 MB, free: 9.559 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.1856, allocations: 6.562 kB / 318.7 MB, free: 9.555 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.167e-05/0.1857, allocations: 22.83 kB / 318.7 MB, free: 9.539 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-05/0.1857, allocations: 38.3 kB / 318.7 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003955/0.1861, allocations: 245 kB / 319 MB, free: 9.445 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002406/0.1885, allocations: 2.699 MB / 321.7 MB, free: 7.105 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003715/0.1889, allocations: 218.6 kB / 321.9 MB, free: 7.016 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.666e-05/0.189, allocations: 78.83 kB / 321.9 MB, free: 6.984 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/0.1891, allocations: 37.14 kB / 322 MB, free: 6.973 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.1891, allocations: 40.33 kB / 322 MB, free: 6.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=40): time 1.623e-06/0.1891, allocations: 0 / 322 MB, free: 6.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.001372/0.1905, allocations: 0.8227 MB / 322.8 MB, free: 6.156 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.1905, allocations: 136.5 kB / 323 MB, free: 5.992 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.1908, allocations: 478.8 kB / 323.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.1908, allocations: 33.7 kB / 323.5 MB, free: 5.473 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.523e-05/0.1909, allocations: 329.2 kB / 323.8 MB, free: 5.145 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.959e-05/0.191, allocations: 166.6 kB / 324 MB, free: 4.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.1911, allocations: 138.5 kB / 324.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.957e-05/0.1912, allocations: 378.6 kB / 324.5 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.229e-05/0.1913, allocations: 61.97 kB / 324.5 MB, free: 4.402 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.1914, allocations: 477.5 kB / 325 MB, free: 3.766 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.1918, allocations: 0.5277 MB / 325.5 MB, free: 3.098 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.1918, allocations: 0 / 325.5 MB, free: 3.098 MB / 282.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006699/0.1925, allocations: 0.5324 MB / 326.1 MB, free: 2.555 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.1925, allocations: 16.88 kB / 326.1 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.1925, allocations: 8 kB / 326.1 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005789/0.1931, allocations: 208.9 kB / 326.3 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.1933, allocations: 132.5 kB / 326.4 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000447/0.1938, allocations: 0.6475 MB / 327.1 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.194, allocations: 24 kB / 327.1 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.1941, allocations: 28 kB / 327.1 MB, free: 1.473 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.1942, allocations: 172.4 kB / 327.3 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.032e-05/0.1943, allocations: 51.94 kB / 327.3 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004632/0.1947, allocations: 406.3 kB / 327.7 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.1947, allocations: 8 kB / 327.7 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1947, allocations: 1.062 kB / 327.7 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1947, allocations: 11.92 kB / 327.7 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007168/0.1955, allocations: 0.7126 MB / 328.5 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1955, allocations: 0 / 328.5 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004503/0.1959, allocations: 176 kB / 328.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001493/0.1961, allocations: 40.8 kB / 328.7 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.639e-05/0.1961, allocations: 15.98 kB / 328.7 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/0.1976, allocations: 2.459 MB / 331.1 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.1976, allocations: 0 / 331.1 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006294/0.1982, allocations: 0.5249 MB / 331.7 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.1983, allocations: 83.53 kB / 331.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.49e-05/0.1984, allocations: 12 kB / 331.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.1985, allocations: 15.98 kB / 331.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.197e-05/0.1986, allocations: 43.81 kB / 331.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.1986, allocations: 12 kB / 331.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001669/0.1988, allocations: 188.4 kB / 332 MB, free: 12.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-07/0.1988, allocations: 4.031 kB / 332 MB, free: 12.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005851/0.1994, allocations: 199.9 kB / 332.2 MB, free: 12.07 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004278/0.1998, allocations: 166.4 kB / 332.4 MB, free: 11.92 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005143/0.2003, allocations: 337.4 kB / 332.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.018e-05/0.2003, allocations: 12.48 kB / 332.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004925/0.2008, allocations: 318.5 kB / 333 MB, free: 11.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007471/0.2016, allocations: 342.5 kB / 333.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.2036, allocations: 1.156 MB / 334.5 MB, free: 9.742 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.2038, allocations: 167.2 kB / 334.7 MB, free: 9.555 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000536/0.2044, allocations: 114.2 kB / 334.8 MB, free: 9.453 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005793/0.2049, allocations: 275 kB / 335.1 MB, free: 9.184 MB / 298.7 MB Notification: Performance of SimCode: time 1.543e-06/0.2049, allocations: 4 kB / 335.1 MB, free: 9.18 MB / 298.7 MB Notification: Performance of Templates: time 0.02405/0.229, allocations: 13.83 MB / 348.9 MB, free: 11.45 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3998372950591147]