Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001079/0.001079, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.001214/0.001214, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 1.072/1.072, allocations: 177.1 MB / 205 MB, free: 5.609 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.2772/0.2772, allocations: 32.8 MB / 294.3 MB, free: 1.285 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.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/2.996e-05, allocations: 2.312 kB / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.009276/0.009306, allocations: 7.385 MB / 383.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004023/0.01333, allocations: 2.463 MB / 385.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005504/0.01388, allocations: 31.69 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000604/0.01448, allocations: 206.6 kB / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.01593, allocations: 0.7767 MB / 386.9 MB, free: 9.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.0177, allocations: 0.8221 MB / 387.7 MB, free: 8.926 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002066/0.01977, allocations: 1.859 MB / 389.6 MB, free: 7.062 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007253/0.02049, allocations: 433.7 kB / 390 MB, free: 6.637 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.02192, allocations: 1.001 MB / 391 MB, free: 5.633 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009451/0.02286, allocations: 0.596 MB / 391.6 MB, free: 5.035 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.02297, allocations: 60 kB / 391.7 MB, free: 4.977 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004037/0.02337, allocations: 199.7 kB / 391.8 MB, free: 4.781 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002111/0.02358, allocations: 275.2 kB / 392.1 MB, free: 4.512 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002401/0.02382, allocations: 279.3 kB / 392.4 MB, free: 4.238 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008661/0.02469, allocations: 0.7554 MB / 393.1 MB, free: 3.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.02469, allocations: 0 / 393.1 MB, free: 3.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.02469, allocations: 4 kB / 393.1 MB, free: 3.477 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.557e-06/0.0247, allocations: 0 / 393.1 MB, free: 3.477 MB / 362.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.001449/0.02615, allocations: 1.079 MB / 394.2 MB, free: 2.359 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.02619, allocations: 8.031 kB / 394.2 MB, free: 2.352 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002897/0.02648, allocations: 152.2 kB / 394.4 MB, free: 2.203 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000556/0.02704, allocations: 496.7 kB / 394.9 MB, free: 1.688 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.02715, allocations: 152.4 kB / 395 MB, free: 1.516 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-05/0.02724, allocations: 60.34 kB / 395.1 MB, free: 1.457 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008416/0.02808, allocations: 0.8886 MB / 396 MB, free: 416 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.0281, allocations: 4 kB / 396 MB, free: 412 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.489e-05/0.02814, allocations: 27.92 kB / 396 MB, free: 384 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.444e-05/0.0282, allocations: 36.98 kB / 396 MB, free: 344 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004674/0.02866, allocations: 313.5 kB / 396.3 MB, free: 36 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002812/0.03148, allocations: 3.906 MB / 400.2 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005134/0.03199, allocations: 268.5 kB / 400.5 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.03213, allocations: 96.3 kB / 400.6 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001349/0.03226, allocations: 44.3 kB / 400.6 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.03229, allocations: 41.72 kB / 400.7 MB, free: 11.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 1.342e-06/0.03229, allocations: 0 / 400.7 MB, free: 11.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.001556/0.03385, allocations: 1 MB / 401.7 MB, free: 10.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.0339, allocations: 140.5 kB / 401.8 MB, free: 10.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004093/0.03431, allocations: 0.5413 MB / 402.4 MB, free: 9.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.03434, allocations: 33.7 kB / 402.4 MB, free: 9.711 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.03455, allocations: 427 kB / 402.8 MB, free: 9.289 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.03465, allocations: 174.6 kB / 403 MB, free: 9.117 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.0348, allocations: 156.2 kB / 403.1 MB, free: 8.957 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.03496, allocations: 0.5508 MB / 403.7 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.03511, allocations: 93.94 kB / 403.8 MB, free: 8.305 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003905/0.0355, allocations: 0.6196 MB / 404.4 MB, free: 7.465 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007519/0.03625, allocations: 0.6885 MB / 405.1 MB, free: 6.582 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.03626, allocations: 0 / 405.1 MB, free: 6.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008916/0.03715, allocations: 0.6997 MB / 405.8 MB, free: 5.875 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.03716, allocations: 12 kB / 405.8 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.03717, allocations: 8 kB / 405.8 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000503/0.03767, allocations: 211.8 kB / 406 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.03791, allocations: 135.8 kB / 406.1 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005296/0.03844, allocations: 0.9365 MB / 407.1 MB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.03867, allocations: 31.98 kB / 407.1 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/0.0387, allocations: 36 kB / 407.1 MB, free: 4.477 MB / 378.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.0001606/0.03887, allocations: 212.3 kB / 407.4 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.128e-05/0.03895, allocations: 71.62 kB / 407.4 MB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006473/0.03959, allocations: 0.4899 MB / 407.9 MB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.0396, allocations: 7.938 kB / 407.9 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.03961, allocations: 11.94 kB / 407.9 MB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.03961, allocations: 3.984 kB / 407.9 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.04065, allocations: 0.9883 MB / 408.9 MB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.04065, allocations: 7.984 kB / 408.9 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000454/0.04111, allocations: 171.8 kB / 409.1 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001404/0.04125, allocations: 55.83 kB / 409.2 MB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.04127, allocations: 16 kB / 409.2 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/0.04292, allocations: 3.612 MB / 412.8 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.04292, allocations: 7.938 kB / 412.8 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007075/0.04363, allocations: 0.6846 MB / 413.5 MB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.04376, allocations: 103.5 kB / 413.6 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.805e-05/0.04381, allocations: 24 kB / 413.6 MB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.04397, allocations: 12 kB / 413.6 MB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.843e-05/0.04405, allocations: 35.94 kB / 413.6 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.04407, allocations: 19.98 kB / 413.7 MB, free: 13.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002344/0.04431, allocations: 334.8 kB / 414 MB, free: 13.22 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.04431, allocations: 0 / 414 MB, free: 13.22 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004562/0.04476, allocations: 199.9 kB / 414.2 MB, free: 13.03 MB / 394.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.0002617/0.04503, allocations: 175.1 kB / 414.4 MB, free: 12.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006165/0.04564, allocations: 391.2 kB / 414.7 MB, free: 12.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.04565, allocations: 4 kB / 414.7 MB, free: 12.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006076/0.04625, allocations: 432.1 kB / 415.2 MB, free: 12.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008068/0.04706, allocations: 317.5 kB / 415.5 MB, free: 11.72 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.04879, allocations: 1.197 MB / 416.7 MB, free: 10.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.04891, allocations: 178.9 kB / 416.9 MB, free: 10.26 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003624/0.04927, allocations: 176.8 kB / 417 MB, free: 10.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.04937, allocations: 52.48 kB / 417.1 MB, free: 10.04 MB / 394.7 MB Notification: Performance of SimCode: time 7.41e-07/0.04937, allocations: 4 kB / 417.1 MB, free: 10.04 MB / 394.7 MB Notification: Performance of Templates: time 0.01667/0.06604, allocations: 13.74 MB / 430.8 MB, free: 12.6 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.6808795100077987]