Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009778/0.0009778, allocations: 177.9 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 205.3 MB / 214.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008367/0.0008368, allocations: 86.23 kB / 262.4 MB, free: 1.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.438e-05/1.44e-05, allocations: 0 / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1024, allocations: 47.59 MB / 363.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.684/7.786, allocations: 2.781 GB / 3.136 GB, free: 82.37 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/7.787, allocations: 68.62 kB / 3.136 GB, free: 82.31 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5488/8.336, allocations: 105.3 MB / 3.239 GB, free: 87.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.424e-06/8.336, allocations: 0 / 3.239 GB, free: 87.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.158e-05/8.336, allocations: 3.812 kB / 3.239 GB, free: 87.1 MB / 426.7 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.007765/8.343, allocations: 1.149 MB / 3.24 GB, free: 86.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.921e-05/8.344, allocations: 10.31 kB / 3.24 GB, free: 86.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006274/8.344, allocations: 52.03 kB / 3.24 GB, free: 86.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003807/8.345, allocations: 231.4 kB / 3.24 GB, free: 86.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.066e-05/8.345, allocations: 9.281 kB / 3.24 GB, free: 86.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.852e-05/8.345, allocations: 6.812 kB / 3.24 GB, free: 86.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004966/8.345, allocations: 202.1 kB / 3.24 GB, free: 86.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/8.346, allocations: 207.5 kB / 3.241 GB, free: 86.22 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/8.346, allocations: 3.188 kB / 3.241 GB, free: 86.22 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/8.346, allocations: 3.906 kB / 3.241 GB, free: 86.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/8.346, allocations: 7.375 kB / 3.241 GB, free: 86.22 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001582/8.347, allocations: 1.155 MB / 3.242 GB, free: 85.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/8.348, allocations: 160.8 kB / 3.242 GB, free: 85.19 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/8.348, allocations: 87.48 kB / 3.242 GB, free: 85.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0939/8.442, allocations: 47.34 MB / 3.288 GB, free: 55.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.535e-05/8.442, allocations: 35.59 kB / 3.288 GB, free: 55.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 3.026e-06/8.442, allocations: 0 / 3.288 GB, free: 55.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.00539/8.447, allocations: 1.224 MB / 3.29 GB, free: 55.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/8.447, allocations: 114.7 kB / 3.29 GB, free: 55.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/8.447, allocations: 103.1 kB / 3.29 GB, free: 55.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.247e-05/8.447, allocations: 31.89 kB / 3.29 GB, free: 55.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.013e-05/8.448, allocations: 111 kB / 3.29 GB, free: 55.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/8.448, allocations: 105.8 kB / 3.29 GB, free: 55.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/8.448, allocations: 0 / 3.29 GB, free: 55.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.331e-05/8.448, allocations: 329.1 kB / 3.29 GB, free: 54.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/8.448, allocations: 104.1 kB / 3.29 GB, free: 54.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/8.448, allocations: 159.7 kB / 3.291 GB, free: 54.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008635/8.449, allocations: 178.3 kB / 3.291 GB, free: 54.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/8.449, allocations: 2.25 kB / 3.291 GB, free: 54.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001176/8.45, allocations: 386.9 kB / 3.291 GB, free: 54.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/8.45, allocations: 11.88 kB / 3.291 GB, free: 54.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/8.45, allocations: 0 / 3.291 GB, free: 54.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002031/8.451, allocations: 38.16 kB / 3.291 GB, free: 54.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004655/8.451, allocations: 89.34 kB / 3.291 GB, free: 54.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004229/8.451, allocations: 0.5565 MB / 3.292 GB, free: 54.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003456/8.452, allocations: 27.2 kB / 3.292 GB, free: 54.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/8.452, allocations: 14.81 kB / 3.292 GB, free: 54.03 MB / 426.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001542/8.452, allocations: 116.7 kB / 3.292 GB, free: 53.92 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.824e-05/8.452, allocations: 23.64 kB / 3.292 GB, free: 53.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002015/8.454, allocations: 1.399 MB / 3.293 GB, free: 53.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.849e-05/8.454, allocations: 24.78 kB / 3.293 GB, free: 53.72 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/8.454, allocations: 0 / 3.293 GB, free: 53.72 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/8.454, allocations: 3.969 kB / 3.293 GB, free: 53.72 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002739/8.457, allocations: 1.886 MB / 3.295 GB, free: 53.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/8.457, allocations: 0 / 3.295 GB, free: 53.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004343/8.457, allocations: 97.17 kB / 3.295 GB, free: 53.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002195/8.458, allocations: 69.67 kB / 3.295 GB, free: 53.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.951e-05/8.458, allocations: 10.81 kB / 3.295 GB, free: 53.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003576/8.458, allocations: 0.6086 MB / 3.296 GB, free: 52.76 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/8.458, allocations: 7.859 kB / 3.296 GB, free: 52.76 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/8.46, allocations: 1.654 MB / 3.298 GB, free: 52.28 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/8.46, allocations: 124.1 kB / 3.298 GB, free: 52.15 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-05/8.46, allocations: 10.55 kB / 3.298 GB, free: 52.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/8.461, allocations: 27.09 kB / 3.298 GB, free: 52.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.507e-05/8.461, allocations: 34.03 kB / 3.298 GB, free: 52.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/8.461, allocations: 11.44 kB / 3.298 GB, free: 52.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001241/8.461, allocations: 96.53 kB / 3.298 GB, free: 52.06 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.11e-07/8.461, allocations: 0 / 3.298 GB, free: 52.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007429/8.468, allocations: 0.9416 MB / 3.299 GB, free: 51.92 MB / 426.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01175/8.48, allocations: 1.261 MB / 3.3 GB, free: 51.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001466/8.482, allocations: 0.5357 MB / 3.301 GB, free: 51.47 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/8.482, allocations: 3.906 kB / 3.301 GB, free: 51.47 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007641/8.482, allocations: 487.5 kB / 3.301 GB, free: 51.24 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008477/8.483, allocations: 64.25 kB / 3.301 GB, free: 51.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/8.486, allocations: 1.024 MB / 3.302 GB, free: 50.69 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/8.486, allocations: 0.8327 MB / 3.303 GB, free: 49.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005022/8.487, allocations: 131 kB / 3.303 GB, free: 49.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/8.487, allocations: 38.16 kB / 3.303 GB, free: 49.96 MB / 426.7 MB Notification: Performance of SimCode: time 2.615e-06/8.487, allocations: 0 / 3.303 GB, free: 49.96 MB / 426.7 MB Notification: Performance of Templates: time 0.04357/8.53, allocations: 25.26 MB / 3.328 GB, free: 46.65 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_3.2.3_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches