Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.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.0008974/0.0008974, allocations: 84.44 kB / 20.69 MB, free: 3.875 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.000796/0.000796, allocations: 169.9 kB / 23.96 MB, free: 0.6016 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.9043/0.9043, allocations: 158.6 MB / 185.7 MB, free: 3.047 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.1342/0.1342, allocations: 32.37 MB / 270.3 MB, free: 14.98 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.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 408.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.777e-05, allocations: 9.875 kB / 408.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.1735/0.1735, allocations: 35.49 MB / 443.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0147/0.1882, allocations: 18.03 MB / 461.6 MB, free: 10.65 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006063/0.1888, allocations: 27.22 kB / 461.7 MB, free: 10.63 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008568/0.1897, allocations: 415 kB / 462.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01091/0.2006, allocations: 5.18 MB / 467.3 MB, free: 7.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005881/0.2065, allocations: 2.601 MB / 469.9 MB, free: 5.809 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002218/0.2087, allocations: 2.04 MB / 471.9 MB, free: 4.625 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005183/0.2092, allocations: 438.8 kB / 472.3 MB, free: 4.309 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004873/0.2141, allocations: 4.432 MB / 476.8 MB, free: 1.523 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005523/0.2196, allocations: 5.431 MB / 482.2 MB, free: 14.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001475/0.2197, allocations: 76 kB / 482.3 MB, free: 14.03 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01036/0.2301, allocations: 7.048 MB / 489.3 MB, free: 6.977 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003519/0.2304, allocations: 307 kB / 489.6 MB, free: 6.676 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004779/0.2309, allocations: 343.2 kB / 489.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01021/0.2411, allocations: 6.259 MB / 496.2 MB, free: 68 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2411, allocations: 0 / 496.2 MB, free: 68 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2411, allocations: 1.781 kB / 496.2 MB, free: 68 kB / 378.7 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.2412, allocations: 0 / 496.2 MB, free: 68 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.00313/0.2443, allocations: 1.62 MB / 497.8 MB, free: 14.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.2443, allocations: 8.031 kB / 497.8 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.2455, allocations: 308.1 kB / 498.1 MB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006496/0.2461, allocations: 0.5251 MB / 498.7 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.2462, allocations: 164.7 kB / 498.8 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.535e-05/0.2463, allocations: 60.38 kB / 498.9 MB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.2478, allocations: 1.506 MB / 0.4887 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.2478, allocations: 0 / 0.4887 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.579e-05/0.2479, allocations: 43.86 kB / 0.4887 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-05/0.2479, allocations: 45.3 kB / 0.4887 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000994/0.2489, allocations: 0.8362 MB / 0.4896 GB, free: 10.68 MB / 394.7 MB 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.003619/0.2525, allocations: 4.339 MB / 0.4938 GB, free: 6.203 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007297/0.2532, allocations: 0.5634 MB / 0.4943 GB, free: 5.621 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.2535, allocations: 213.6 kB / 0.4945 GB, free: 5.406 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04078/0.2942, allocations: 25.09 MB / 0.5191 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/0.2943, allocations: 38.56 kB / 0.5191 GB, free: 12.24 MB / 426.7 MB Notification: Performance of pre-optimization done (n=42): time 2.354e-06/0.2943, allocations: 0 / 0.5191 GB, free: 12.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=46): time 0.003172/0.2975, allocations: 1.868 MB / 0.5209 GB, free: 10.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.2975, allocations: 166.2 kB / 0.5211 GB, free: 10.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004542/0.298, allocations: 0.5494 MB / 0.5216 GB, free: 9.578 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.298, allocations: 33.7 kB / 0.5216 GB, free: 9.539 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.2982, allocations: 412 kB / 0.522 GB, free: 9.133 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.517e-05/0.2983, allocations: 174.5 kB / 0.5222 GB, free: 8.961 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.2984, allocations: 158.6 kB / 0.5223 GB, free: 8.801 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2985, allocations: 378.7 kB / 0.5227 GB, free: 8.422 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.2988, allocations: 225.9 kB / 0.5229 GB, free: 8.203 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004045/0.2992, allocations: 0.6435 MB / 0.5236 GB, free: 7.379 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006535/0.2998, allocations: 0.8417 MB / 0.5244 GB, free: 6.383 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2998, allocations: 0 / 0.5244 GB, free: 6.383 MB / 426.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0008398/0.3007, allocations: 0.8694 MB / 0.5252 GB, free: 5.504 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.3007, allocations: 14.34 kB / 0.5252 GB, free: 5.492 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.3007, allocations: 15.94 kB / 0.5253 GB, free: 5.477 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001964/0.3009, allocations: 64.89 kB / 0.5253 GB, free: 5.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006011/0.3015, allocations: 279.6 kB / 0.5256 GB, free: 5.137 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.3027, allocations: 1.94 MB / 0.5275 GB, free: 3.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.303, allocations: 28 kB / 0.5275 GB, free: 3.043 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/0.303, allocations: 51.91 kB / 0.5276 GB, free: 2.992 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002732/0.3033, allocations: 273.5 kB / 0.5278 GB, free: 2.715 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.4e-05/0.3034, allocations: 71.52 kB / 0.5279 GB, free: 2.645 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.3049, allocations: 2.312 MB / 0.5301 GB, free: 332 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.305, allocations: 31.95 kB / 0.5302 GB, free: 300 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.305, allocations: 0 / 0.5302 GB, free: 300 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.305, allocations: 3.984 kB / 0.5302 GB, free: 296 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/0.3074, allocations: 3.1 MB / 0.5332 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3074, allocations: 3.984 kB / 0.5332 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004504/0.3079, allocations: 191.8 kB / 0.5334 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001956/0.3081, allocations: 88.73 kB / 0.5335 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.3081, allocations: 12 kB / 0.5335 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008736/0.309, allocations: 1.977 MB / 0.5354 GB, free: 10.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.309, allocations: 0 / 0.5354 GB, free: 10.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.3104, allocations: 2.036 MB / 0.5374 GB, free: 8.691 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/0.3106, allocations: 167 kB / 0.5376 GB, free: 8.527 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.955e-05/0.3106, allocations: 23.89 kB / 0.5376 GB, free: 8.504 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.3109, allocations: 31.97 kB / 0.5376 GB, free: 8.473 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.3109, allocations: 36.69 kB / 0.5377 GB, free: 8.438 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.311, allocations: 23.98 kB / 0.5377 GB, free: 8.414 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003666/0.3113, allocations: 463 kB / 0.5381 GB, free: 7.961 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3113, allocations: 3.938 kB / 0.5381 GB, free: 7.957 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002305/0.3136, allocations: 1.092 MB / 0.5392 GB, free: 6.863 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002986/0.3166, allocations: 1.37 MB / 0.5405 GB, free: 5.488 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.3178, allocations: 0.9131 MB / 0.5414 GB, free: 4.578 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.3178, allocations: 4 kB / 0.5414 GB, free: 4.574 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006306/0.3184, allocations: 0.6133 MB / 0.542 GB, free: 3.961 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009564/0.3194, allocations: 333.7 kB / 0.5423 GB, free: 3.637 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.3215, allocations: 2.224 MB / 0.5445 GB, free: 1.375 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.3218, allocations: 0.5169 MB / 0.545 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.322, allocations: 72.42 kB / 0.5451 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of SimCode: time 9.92e-07/0.322, allocations: 0 / 0.5451 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of Templates: time 0.03324/0.3552, allocations: 37.81 MB / 0.582 GB, free: 10.92 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.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: 7.243550444021821]