Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001577/0.001577, allocations: 107.6 kB / 21.19 MB, free: 0.668 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.001948/0.001948, allocations: 207.5 kB / 24.48 MB, free: 3.977 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.533/1.533, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.2269/0.2269, allocations: 44.93 MB / 359.6 MB, free: 6.148 MB / 286.1 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.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 68.09 kB / 0.4943 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3135, allocations: 65.47 MB / 0.5582 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2016/0.5152, allocations: 154.6 MB / 0.7092 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008337/0.5235, allocations: 4.928 MB / 0.714 GB, free: 7.289 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007736/0.5243, allocations: 31.69 kB / 0.7141 GB, free: 7.258 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.5254, allocations: 298 kB / 0.7144 GB, free: 6.965 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00421/0.5296, allocations: 1.367 MB / 0.7157 GB, free: 5.598 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003106/0.5327, allocations: 1.07 MB / 0.7167 GB, free: 4.531 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002774/0.5355, allocations: 1.871 MB / 0.7186 GB, free: 2.652 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008637/0.5364, allocations: 385.7 kB / 0.7189 GB, free: 2.273 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002717/0.5391, allocations: 1.117 MB / 0.72 GB, free: 1.152 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001692/0.5408, allocations: 0.7705 MB / 0.7208 GB, free: 388 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002454/0.541, allocations: 60 kB / 0.7208 GB, free: 328 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001595/0.5426, allocations: 0.55 MB / 0.7214 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004178/0.543, allocations: 275.1 kB / 0.7216 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005578/0.5436, allocations: 330.6 kB / 0.7219 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002015/0.5456, allocations: 1.308 MB / 0.7232 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5456, allocations: 4 kB / 0.7232 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5456, allocations: 0 / 0.7232 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.5456, allocations: 3.984 kB / 0.7232 GB, free: 13.86 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.002296/0.5479, allocations: 1.038 MB / 0.7242 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.548, allocations: 12.03 kB / 0.7243 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000827/0.5488, allocations: 147.3 kB / 0.7244 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009586/0.5497, allocations: 473.4 kB / 0.7248 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.5499, allocations: 155.8 kB / 0.725 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.55, allocations: 48 kB / 0.725 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.5515, allocations: 1.144 MB / 0.7262 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.5515, allocations: 3.938 kB / 0.7262 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-05/0.5516, allocations: 31.92 kB / 0.7262 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.007e-05/0.5516, allocations: 36.98 kB / 0.7262 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.5527, allocations: 0.6127 MB / 0.7268 GB, free: 9.934 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.004363/0.5571, allocations: 3.219 MB / 0.73 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006057/0.5577, allocations: 339.6 kB / 0.7303 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.558, allocations: 161.3 kB / 0.7304 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.883e-05/0.5581, allocations: 12.28 kB / 0.7305 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.5581, allocations: 42.84 kB / 0.7305 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.535e-06/0.5581, allocations: 3.938 kB / 0.7305 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005809/0.5639, allocations: 1.597 MB / 0.7321 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.968e-05/0.564, allocations: 132.5 kB / 0.7322 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006712/0.5647, allocations: 0.5338 MB / 0.7327 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.428e-05/0.5647, allocations: 37.64 kB / 0.7327 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000307/0.565, allocations: 388.2 kB / 0.7331 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.5652, allocations: 150.7 kB / 0.7333 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/0.5654, allocations: 158.6 kB / 0.7334 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.5656, allocations: 366.8 kB / 0.7338 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/0.566, allocations: 201.9 kB / 0.734 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006759/0.5666, allocations: 0.5917 MB / 0.7345 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.5677, allocations: 0.7563 MB / 0.7353 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/0.5677, allocations: 0 / 0.7353 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.2499/0.8176, allocations: 0.8654 MB / 0.7361 GB, free: 178 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.8177, allocations: 9.844 kB / 0.7361 GB, free: 178 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/0.8177, allocations: 9.688 kB / 0.7361 GB, free: 178 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/0.8193, allocations: 318.5 kB / 0.7364 GB, free: 178 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005192/0.8198, allocations: 124.5 kB / 0.7366 GB, free: 178 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/0.821, allocations: 0.9307 MB / 0.7375 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005329/0.8216, allocations: 28.3 kB / 0.7375 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.8217, allocations: 68.41 kB / 0.7376 GB, free: 177.5 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.0003876/0.8221, allocations: 241.9 kB / 0.7378 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.8222, allocations: 62.22 kB / 0.7378 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.8239, allocations: 0.8677 MB / 0.7387 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.8239, allocations: 4.453 kB / 0.7387 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.8239, allocations: 0 / 0.7387 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.8239, allocations: 2.203 kB / 0.7387 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.8256, allocations: 1.079 MB / 0.7398 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.8256, allocations: 3.406 kB / 0.7398 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009706/0.8266, allocations: 207.6 kB / 0.74 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.363e-05/0.8267, allocations: 24.66 kB / 0.74 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.772e-05/0.8267, allocations: 19.73 kB / 0.74 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001337/0.828, allocations: 2.639 MB / 0.7426 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.828, allocations: 3.688 kB / 0.7426 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009987/0.829, allocations: 0.8238 MB / 0.7434 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002252/0.8293, allocations: 104 kB / 0.7435 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.334e-05/0.8293, allocations: 11.84 kB / 0.7435 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/0.8297, allocations: 16.47 kB / 0.7435 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.45e-05/0.8298, allocations: 43.36 kB / 0.7436 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.327e-05/0.8298, allocations: 43.44 kB / 0.7436 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003151/0.8301, allocations: 365.7 kB / 0.7439 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.8301, allocations: 0 / 0.7439 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007672/0.8309, allocations: 256.8 kB / 0.7442 GB, free: 173.1 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.0005333/0.8314, allocations: 280.1 kB / 0.7445 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009552/0.8324, allocations: 0.5338 MB / 0.745 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.8324, allocations: 4 kB / 0.745 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008058/0.8332, allocations: 400.9 kB / 0.7454 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.8345, allocations: 301.6 kB / 0.7456 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.8362, allocations: 1.388 MB / 0.747 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.8364, allocations: 332.3 kB / 0.7473 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/0.8368, allocations: 119.4 kB / 0.7474 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/0.8368, allocations: 0 / 0.7474 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.01611/0.8529, allocations: 16.08 MB / 0.7631 GB, free: 154 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.149537476245314]