Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001875/0.001875, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002367/0.002367, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 8.055 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97")
translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 64.77 kB / 379 MB, free: 2.684 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2498, allocations: 53.38 MB / 432.4 MB, free: 6.949 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01973/0.2695, allocations: 13.14 MB / 445.5 MB, free: 9.77 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01556/0.2851, allocations: 11.61 MB / 457.1 MB, free: 14.12 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.2852, allocations: 0 / 457.1 MB, free: 14.12 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000345/0.2856, allocations: 75.53 kB / 457.2 MB, free: 14.04 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.2859, allocations: 95.36 kB / 457.3 MB, free: 13.95 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0141/0.3, allocations: 5.084 MB / 462.4 MB, free: 8.867 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000434/0.3004, allocations: 234.9 kB / 462.6 MB, free: 8.637 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.652e-05/0.3005, allocations: 13.64 kB / 462.6 MB, free: 8.617 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004829/0.301, allocations: 199.3 kB / 462.8 MB, free: 8.422 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.3011, allocations: 75.69 kB / 462.9 MB, free: 8.348 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.3012, allocations: 8 kB / 462.9 MB, free: 8.34 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.01331/0.3145, allocations: 7.013 MB / 469.9 MB, free: 1.32 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.311e-05/0.3145, allocations: 31.89 kB / 469.9 MB, free: 1.289 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.3147, allocations: 67.73 kB / 470 MB, free: 1.223 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.007839/0.3225, allocations: 3.878 MB / 473.9 MB, free: 13.34 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.3225, allocations: 0 / 473.9 MB, free: 13.34 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.613e-06/0.3225, allocations: 0 / 473.9 MB, free: 13.34 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 8.325e-06/0.3225, allocations: 0 / 473.9 MB, free: 13.34 MB / 382.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 34
 * Number of variables: 34
Notification: Performance of Generate backend data structure: time 0.00494/0.3275, allocations: 1.103 MB / 475 MB, free: 12.2 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.3275, allocations: 11.97 kB / 475 MB, free: 12.19 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005256/0.328, allocations: 52.84 kB / 475.1 MB, free: 12.14 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.3284, allocations: 162.4 kB / 475.2 MB, free: 11.95 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.968e-05/0.3284, allocations: 16.66 kB / 475.2 MB, free: 11.94 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.179e-05/0.3285, allocations: 16.31 kB / 475.3 MB, free: 11.92 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.3299, allocations: 384.8 kB / 475.6 MB, free: 11.52 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.3299, allocations: 11.88 kB / 475.6 MB, free: 11.5 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.3299, allocations: 4 kB / 475.6 MB, free: 11.5 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.3299, allocations: 4 kB / 475.6 MB, free: 11.5 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/0.3314, allocations: 355.6 kB / 476 MB, free: 11.15 MB / 382.1 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.001575/0.333, allocations: 1.152 MB / 477.1 MB, free: 9.902 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009091/0.3339, allocations: 267.8 kB / 477.4 MB, free: 9.613 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.3342, allocations: 106.9 kB / 477.5 MB, free: 9.5 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.09297/0.4271, allocations: 26.02 MB / 0.4917 GB, free: 15.45 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.311e-05/0.4272, allocations: 34.56 kB / 0.4918 GB, free: 15.4 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=23): time 2.484e-06/0.4272, allocations: 3.938 kB / 0.4918 GB, free: 15.4 MB / 414.1 MB
Notification: Performance of matching and sorting (n=33): time 0.007324/0.4345, allocations: 1.515 MB / 0.4932 GB, free: 13.85 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.413e-05/0.4346, allocations: 110.8 kB / 0.4934 GB, free: 13.72 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.4347, allocations: 117.8 kB / 0.4935 GB, free: 13.59 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.4347, allocations: 37.64 kB / 0.4935 GB, free: 13.55 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.089e-05/0.4348, allocations: 112.6 kB / 0.4936 GB, free: 13.44 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.4349, allocations: 119 kB / 0.4937 GB, free: 13.32 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.4351, allocations: 73.69 kB / 0.4938 GB, free: 13.24 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001616/0.4353, allocations: 322.8 kB / 0.4941 GB, free: 12.92 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004074/0.4357, allocations: 139.7 kB / 0.4942 GB, free: 12.78 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004548/0.4361, allocations: 198.7 kB / 0.4944 GB, free: 12.56 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0008369/0.437, allocations: 346.5 kB / 0.4948 GB, free: 12.2 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.437, allocations: 4 kB / 0.4948 GB, free: 12.2 MB / 414.1 MB
Notification: Performance of matching and sorting (n=41) (initialization): time 0.001193/0.4381, allocations: 430.1 kB / 0.4952 GB, free: 11.77 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.4382, allocations: 4 kB / 0.4952 GB, free: 11.76 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.4382, allocations: 4 kB / 0.4952 GB, free: 11.76 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002617/0.4384, allocations: 28.84 kB / 0.4952 GB, free: 11.73 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/0.4389, allocations: 95.86 kB / 0.4953 GB, free: 11.63 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000478/0.4394, allocations: 0.5485 MB / 0.4958 GB, free: 11.06 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.4397, allocations: 23.98 kB / 0.4959 GB, free: 11.04 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/0.4398, allocations: 15.98 kB / 0.4959 GB, free: 11.02 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 8
 * Number of states: 0 ()
 * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (40):
 * Single equations (assignments): 39
 * 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
   {(1,1)}
Notification: Performance of prepare postOptimizeDAE: time 0.0002117/0.44, allocations: 134.3 kB / 0.496 GB, free: 10.88 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.4401, allocations: 19.91 kB / 0.496 GB, free: 10.86 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002555/0.4426, allocations: 1.504 MB / 0.4975 GB, free: 9.352 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-05/0.4427, allocations: 19.97 kB / 0.4975 GB, free: 9.332 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.4427, allocations: 0 / 0.4975 GB, free: 9.332 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.4427, allocations: 4.375 kB / 0.4975 GB, free: 9.328 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00348/0.4462, allocations: 2.006 MB / 0.4995 GB, free: 7.254 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.4462, allocations: 0 / 0.4995 GB, free: 7.254 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004672/0.4466, allocations: 83.86 kB / 0.4995 GB, free: 7.172 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0003466/0.447, allocations: 76.86 kB / 0.4996 GB, free: 7.094 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/0.447, allocations: 11.98 kB / 0.4996 GB, free: 7.082 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004606/0.4475, allocations: 0.5991 MB / 0.5002 GB, free: 6.457 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4475, allocations: 0 / 0.5002 GB, free: 6.457 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002571/0.4501, allocations: 1.741 MB / 0.5019 GB, free: 4.688 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.142e-05/0.4501, allocations: 51.53 kB / 0.502 GB, free: 4.637 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5e-05/0.4502, allocations: 8 kB / 0.502 GB, free: 4.629 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003874/0.4506, allocations: 27.95 kB / 0.502 GB, free: 4.602 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-05/0.4507, allocations: 31.95 kB / 0.502 GB, free: 4.57 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/0.4507, allocations: 19.98 kB / 0.502 GB, free: 4.551 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 8.705e-05/0.4508, allocations: 95.2 kB / 0.5021 GB, free: 4.457 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.4508, allocations: 3.938 kB / 0.5021 GB, free: 4.453 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.002814/0.4536, allocations: 0.9747 MB / 0.5031 GB, free: 3.477 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 7
 * Number of states: 3 (medium.p,medium.h,V)
 * Number of discrete variables: 11 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,medium.phase,$cse1.phase,$cse1.region)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (38):
 * Single equations (assignments): 31
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 6
 * 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
   {(1,1)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.004772/0.4584, allocations: 1.146 MB / 0.5042 GB, free: 2.316 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.001589/0.46, allocations: 0.605 MB / 0.5048 GB, free: 1.711 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.46, allocations: 0 / 0.5048 GB, free: 1.711 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0008986/0.4609, allocations: 473.3 kB / 0.5053 GB, free: 1.25 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007904/0.4616, allocations: 80.27 kB / 0.5053 GB, free: 1.172 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.4643, allocations: 1.331 MB / 0.5066 GB, free: 15.79 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005326/0.4649, allocations: 0.8215 MB / 0.5074 GB, free: 14.94 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.0003827/0.4653, allocations: 141.7 kB / 0.5076 GB, free: 14.81 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.4654, allocations: 35.42 kB / 0.5076 GB, free: 14.77 MB / 430.1 MB
Notification: Performance of SimCode: time 6.61e-07/0.4654, allocations: 0 / 0.5076 GB, free: 14.77 MB / 430.1 MB
Notification: Performance of Templates: time 0.2374/0.7028, allocations: 36.91 MB / 0.5436 GB, free: 107.1 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.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.337646026164293]