Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.001693/0.001693, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001929/0.001929, allocations: 215.1 kB / 24.48 MB, free: 3.84 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.477/1.477, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.2235/0.2235, allocations: 46.96 MB / 361.6 MB, free: 4.133 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.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 64.09 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3404, allocations: 66.04 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2117/0.5521, allocations: 154.6 MB / 0.7129 GB, free: 8.941 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008564/0.5607, allocations: 4.916 MB / 0.7177 GB, free: 4.012 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008452/0.5615, allocations: 31.75 kB / 0.7177 GB, free: 3.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.5627, allocations: 310 kB / 0.718 GB, free: 3.676 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004019/0.5667, allocations: 1.364 MB / 0.7193 GB, free: 2.312 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003003/0.5697, allocations: 1.058 MB / 0.7203 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002842/0.5726, allocations: 1.867 MB / 0.7222 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009339/0.5735, allocations: 393.6 kB / 0.7225 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002965/0.5765, allocations: 1.121 MB / 0.7236 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.5783, allocations: 0.7705 MB / 0.7244 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002446/0.5785, allocations: 60 kB / 0.7245 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/0.5803, allocations: 0.55 MB / 0.725 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000466/0.5808, allocations: 267.2 kB / 0.7252 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007185/0.5815, allocations: 338.6 kB / 0.7256 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002515/0.584, allocations: 1.3 MB / 0.7268 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.584, allocations: 0 / 0.7268 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.926e-06/0.584, allocations: 4 kB / 0.7268 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.884e-05/0.5841, allocations: 0 / 0.7268 GB, free: 10.59 MB / 0.5606 GB 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.003715/0.5878, allocations: 1.041 MB / 0.7279 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/0.5879, allocations: 8.031 kB / 0.7279 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/0.5893, allocations: 151.3 kB / 0.728 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/0.5909, allocations: 481.4 kB / 0.7285 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002115/0.5911, allocations: 155.8 kB / 0.7286 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/0.5912, allocations: 51.98 kB / 0.7287 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002213/0.5935, allocations: 1.138 MB / 0.7298 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/0.5935, allocations: 7.938 kB / 0.7298 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.5936, allocations: 27.92 kB / 0.7298 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.742e-05/0.5937, allocations: 36.98 kB / 0.7298 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00163/0.5953, allocations: 0.6166 MB / 0.7304 GB, free: 6.648 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005974/0.6013, allocations: 3.227 MB / 0.7336 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000817/0.6021, allocations: 331.6 kB / 0.7339 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004151/0.6025, allocations: 165.3 kB / 0.7341 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.6027, allocations: 12.28 kB / 0.7341 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.323e-05/0.6027, allocations: 42.83 kB / 0.7341 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.825e-06/0.6027, allocations: 0 / 0.7341 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.007902/0.6106, allocations: 1.609 MB / 0.7357 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.6107, allocations: 132.5 kB / 0.7358 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.6117, allocations: 0.5299 MB / 0.7363 GB, free: 392 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.703e-05/0.6118, allocations: 33.7 kB / 0.7364 GB, free: 352 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.2824/0.8943, allocations: 383.6 kB / 0.7367 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002428/0.8945, allocations: 144.1 kB / 0.7369 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003642/0.8949, allocations: 161.3 kB / 0.737 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.895, allocations: 369.5 kB / 0.7374 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005003/0.8955, allocations: 202.6 kB / 0.7376 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007069/0.8962, allocations: 0.5884 MB / 0.7382 GB, free: 175 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.8973, allocations: 0.7536 MB / 0.7389 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.8973, allocations: 4.906 kB / 0.7389 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001712/0.899, allocations: 0.8742 MB / 0.7397 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.8991, allocations: 9.312 kB / 0.7398 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.8991, allocations: 10.81 kB / 0.7398 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/0.9005, allocations: 314.3 kB / 0.7401 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/0.9008, allocations: 122.6 kB / 0.7402 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009588/0.9018, allocations: 0.9308 MB / 0.7411 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005339/0.9023, allocations: 25.34 kB / 0.7411 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.469e-05/0.9024, allocations: 68.34 kB / 0.7412 GB, free: 173.4 MB / 0.5606 GB 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 (67): * Single equations (assignments): 66 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003435/0.9027, allocations: 251 kB / 0.7414 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.9028, allocations: 62.19 kB / 0.7415 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.9043, allocations: 0.8605 MB / 0.7423 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.9043, allocations: 4.172 kB / 0.7423 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.9043, allocations: 2.719 kB / 0.7423 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.9043, allocations: 2.016 kB / 0.7423 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.9059, allocations: 1.086 MB / 0.7434 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.9059, allocations: 6.891 kB / 0.7434 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009319/0.9069, allocations: 211.1 kB / 0.7436 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.511e-05/0.9069, allocations: 30.11 kB / 0.7436 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.753e-05/0.907, allocations: 23.14 kB / 0.7436 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.9083, allocations: 2.62 MB / 0.7462 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.9083, allocations: 0 / 0.7462 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009947/0.9093, allocations: 0.8238 MB / 0.747 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000252/0.9095, allocations: 106.8 kB / 0.7471 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.082e-05/0.9096, allocations: 10.95 kB / 0.7471 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003392/0.91, allocations: 20.5 kB / 0.7471 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.758e-05/0.91, allocations: 39.98 kB / 0.7472 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.121e-05/0.9101, allocations: 39.8 kB / 0.7472 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003217/0.9104, allocations: 365.9 kB / 0.7476 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9104, allocations: 0 / 0.7476 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008526/0.9113, allocations: 255.1 kB / 0.7478 GB, free: 167.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005513/0.9118, allocations: 287.1 kB / 0.7481 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000992/0.9128, allocations: 0.5235 MB / 0.7486 GB, free: 167 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.9128, allocations: 0 / 0.7486 GB, free: 167 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00082/0.9136, allocations: 404.6 kB / 0.749 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.9149, allocations: 301.2 kB / 0.7493 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.9167, allocations: 1.38 MB / 0.7506 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.9169, allocations: 328.3 kB / 0.7509 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003183/0.9172, allocations: 127.4 kB / 0.7511 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of SimCode: time 6.92e-07/0.9172, allocations: 0 / 0.7511 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.01734/0.9345, allocations: 16.08 MB / 0.7668 GB, free: 148.4 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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: 11.310587057378143]