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.001276/0.001276, allocations: 91.22 kB / 20.43 MB, free: 4.141 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.001589/0.001589, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 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 0.9737/0.9737, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.139/0.139, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.223e-06/1.223e-06, allocations: 0 / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.752e-05, allocations: 10.19 kB / 347.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.004956/0.004973, allocations: 7.305 MB / 355 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002518/0.007491, allocations: 2.464 MB / 357.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002423/0.007733, allocations: 27.75 kB / 357.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004789/0.008212, allocations: 210.6 kB / 357.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009119/0.009124, allocations: 0.7611 MB / 358.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009941/0.01012, allocations: 0.8377 MB / 359.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001212/0.01133, allocations: 1.863 MB / 361.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004022/0.01173, allocations: 429.8 kB / 361.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008752/0.01261, allocations: 0.9975 MB / 362.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005368/0.01314, allocations: 0.6038 MB / 363.2 MB, free: 9.875 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.465e-05/0.01322, allocations: 60 kB / 363.2 MB, free: 9.816 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002757/0.01349, allocations: 187.7 kB / 363.4 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.01368, allocations: 287.1 kB / 363.7 MB, free: 9.352 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002207/0.0139, allocations: 283.3 kB / 364 MB, free: 9.074 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007421/0.01465, allocations: 0.7476 MB / 364.7 MB, free: 8.324 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.01465, allocations: 0 / 364.7 MB, free: 8.324 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01465, allocations: 0 / 364.7 MB, free: 8.324 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.01466, allocations: 0 / 364.7 MB, free: 8.324 MB / 298.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.001363/0.01602, allocations: 1.083 MB / 365.8 MB, free: 7.203 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.01605, allocations: 8.031 kB / 365.8 MB, free: 7.195 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002637/0.01632, allocations: 160.1 kB / 366 MB, free: 7.039 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005159/0.01683, allocations: 496.8 kB / 366.5 MB, free: 6.523 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.01695, allocations: 152.4 kB / 366.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.358e-05/0.01702, allocations: 52.38 kB / 366.7 MB, free: 6.301 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007952/0.01781, allocations: 0.9292 MB / 367.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.01783, allocations: 4 kB / 367.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.897e-05/0.01788, allocations: 24 kB / 367.6 MB, free: 5.172 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.584e-05/0.01794, allocations: 32.98 kB / 367.6 MB, free: 5.137 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004428/0.01838, allocations: 309.5 kB / 367.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002515/0.0209, allocations: 3.899 MB / 371.8 MB, free: 0.793 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.02135, allocations: 268.5 kB / 372.1 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.02148, allocations: 104.2 kB / 372.2 MB, free: 424 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.02162, allocations: 48.23 kB / 372.3 MB, free: 376 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.02165, allocations: 41.72 kB / 372.3 MB, free: 324 kB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.502e-06/0.02165, allocations: 0 / 372.3 MB, free: 324 kB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.00162/0.02327, allocations: 1.01 MB / 373.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.02333, allocations: 140.5 kB / 373.4 MB, free: 15.1 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003937/0.02372, allocations: 0.5374 MB / 374 MB, free: 14.55 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.02376, allocations: 33.7 kB / 374 MB, free: 14.51 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.02398, allocations: 431 kB / 374.4 MB, free: 14.08 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.02408, allocations: 170.6 kB / 374.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.02422, allocations: 156.2 kB / 374.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.02439, allocations: 0.543 MB / 375.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.02455, allocations: 93.94 kB / 375.4 MB, free: 13.1 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003764/0.02492, allocations: 0.6274 MB / 376 MB, free: 12.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005329/0.02545, allocations: 0.6807 MB / 376.7 MB, free: 11.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.02546, allocations: 4 kB / 376.7 MB, free: 11.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008872/0.02634, allocations: 0.6957 MB / 377.4 MB, free: 10.67 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.02636, allocations: 12 kB / 377.4 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.02637, allocations: 8 kB / 377.4 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005378/0.02691, allocations: 212 kB / 377.6 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.02714, allocations: 135.8 kB / 377.8 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005588/0.0277, allocations: 0.9355 MB / 378.7 MB, free: 9.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.02792, allocations: 35.98 kB / 378.7 MB, free: 9.305 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.183e-05/0.02796, allocations: 40 kB / 378.8 MB, free: 9.266 MB / 314.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.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[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.0001643/0.02813, allocations: 212.2 kB / 379 MB, free: 9.047 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.691e-05/0.02821, allocations: 75.62 kB / 379 MB, free: 8.973 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006563/0.02886, allocations: 499 kB / 379.5 MB, free: 8.473 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.02887, allocations: 7.938 kB / 379.5 MB, free: 8.465 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.02887, allocations: 4 kB / 379.5 MB, free: 8.461 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.02888, allocations: 3.984 kB / 379.6 MB, free: 8.457 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009965/0.02988, allocations: 1.006 MB / 380.6 MB, free: 7.375 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.02988, allocations: 4 kB / 380.6 MB, free: 7.371 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004502/0.03033, allocations: 175.8 kB / 380.7 MB, free: 7.199 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001538/0.03049, allocations: 59.86 kB / 380.8 MB, free: 7.137 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.03051, allocations: 16 kB / 380.8 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/0.03213, allocations: 3.612 MB / 384.4 MB, free: 3.262 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.03213, allocations: 4 kB / 384.4 MB, free: 3.258 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006722/0.03281, allocations: 0.6695 MB / 385.1 MB, free: 2.539 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.03293, allocations: 107.6 kB / 385.2 MB, free: 2.434 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/0.03298, allocations: 19.94 kB / 385.2 MB, free: 2.414 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.03314, allocations: 12 kB / 385.2 MB, free: 2.402 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.579e-05/0.0332, allocations: 43.86 kB / 385.3 MB, free: 2.359 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.03323, allocations: 16 kB / 385.3 MB, free: 2.344 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002252/0.03345, allocations: 334.8 kB / 385.6 MB, free: 2.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03345, allocations: 0 / 385.6 MB, free: 2.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004189/0.03387, allocations: 191.9 kB / 385.8 MB, free: 1.832 MB / 314.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.0003478/0.03422, allocations: 179.8 kB / 386 MB, free: 1.656 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005696/0.03479, allocations: 403.9 kB / 386.4 MB, free: 1.266 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.03479, allocations: 0 / 386.4 MB, free: 1.266 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005451/0.03533, allocations: 424.3 kB / 386.8 MB, free: 0.832 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007532/0.03609, allocations: 325.7 kB / 387.1 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.03758, allocations: 1.194 MB / 388.3 MB, free: 15.26 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.03769, allocations: 175.1 kB / 388.5 MB, free: 15.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003004/0.03799, allocations: 182.7 kB / 388.6 MB, free: 14.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.358e-05/0.03809, allocations: 60.48 kB / 388.7 MB, free: 14.83 MB / 330.7 MB Notification: Performance of SimCode: time 7.92e-07/0.03809, allocations: 0 / 388.7 MB, free: 14.83 MB / 330.7 MB Notification: Performance of Templates: time 0.01375/0.05184, allocations: 13.66 MB / 402.4 MB, free: 1.262 MB / 330.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 -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.5070721809752285]