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.001365/0.001365, allocations: 172.4 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008219/0.0008219, allocations: 82.66 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.59e-05/2.592e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1042, allocations: 47.58 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.047/7.151, allocations: 2.782 GB / 3.143 GB, free: 41.67 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/7.151, allocations: 67.97 kB / 3.143 GB, free: 41.61 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5641/7.715, allocations: 107.2 MB / 3.248 GB, free: 96.17 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.525e-06/7.716, allocations: 0 / 3.248 GB, free: 96.17 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.841e-05/7.716, allocations: 6.188 kB / 3.248 GB, free: 96.17 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.007122/7.723, allocations: 1.151 MB / 3.249 GB, free: 95.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/7.723, allocations: 7.906 kB / 3.249 GB, free: 95.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004832/7.723, allocations: 54.47 kB / 3.249 GB, free: 95.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/7.724, allocations: 217.4 kB / 3.249 GB, free: 95.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/7.724, allocations: 15.28 kB / 3.249 GB, free: 95.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.362e-05/7.724, allocations: 15.44 kB / 3.249 GB, free: 95.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009578/7.725, allocations: 370.3 kB / 3.25 GB, free: 95.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/7.725, allocations: 3.938 kB / 3.25 GB, free: 95.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.851e-05/7.725, allocations: 15.12 kB / 3.25 GB, free: 95.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/7.725, allocations: 3.906 kB / 3.25 GB, free: 95.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008356/7.726, allocations: 298.3 kB / 3.25 GB, free: 95.2 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.001317/7.727, allocations: 1.205 MB / 3.251 GB, free: 94.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006159/7.727, allocations: 270.7 kB / 3.251 GB, free: 94 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/7.728, allocations: 89.36 kB / 3.251 GB, free: 93.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08732/7.815, allocations: 47.34 MB / 3.298 GB, free: 48.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/7.815, allocations: 39.09 kB / 3.298 GB, free: 48.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 2.275e-06/7.815, allocations: 0 / 3.298 GB, free: 48.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.005469/7.821, allocations: 1.433 MB / 3.299 GB, free: 46.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/7.821, allocations: 112.7 kB / 3.299 GB, free: 46.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.869e-05/7.821, allocations: 108.8 kB / 3.299 GB, free: 46.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/7.821, allocations: 33.7 kB / 3.299 GB, free: 46.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/7.821, allocations: 108.5 kB / 3.299 GB, free: 46.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.915e-05/7.821, allocations: 114 kB / 3.3 GB, free: 46.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.958e-05/7.821, allocations: 8 kB / 3.3 GB, free: 46.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.171e-05/7.821, allocations: 330.6 kB / 3.3 GB, free: 46.13 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/7.821, allocations: 115.5 kB / 3.3 GB, free: 46.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/7.821, allocations: 162.9 kB / 3.3 GB, free: 45.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/7.822, allocations: 127 kB / 3.3 GB, free: 45.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/7.822, allocations: 0 / 3.3 GB, free: 45.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00057/7.822, allocations: 367.9 kB / 3.301 GB, free: 45.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/7.822, allocations: 12.16 kB / 3.301 GB, free: 45.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/7.822, allocations: 4 kB / 3.301 GB, free: 45.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002248/7.822, allocations: 40.45 kB / 3.301 GB, free: 45.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004335/7.823, allocations: 95.38 kB / 3.301 GB, free: 45.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002939/7.823, allocations: 0.5522 MB / 3.301 GB, free: 44.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/7.823, allocations: 23.94 kB / 3.301 GB, free: 44.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/7.824, allocations: 19.94 kB / 3.301 GB, free: 44.66 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 9.707e-05/7.824, allocations: 116.9 kB / 3.302 GB, free: 44.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.115e-05/7.824, allocations: 19.77 kB / 3.302 GB, free: 44.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/7.825, allocations: 1.439 MB / 3.303 GB, free: 43.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.276e-05/7.825, allocations: 22.88 kB / 3.303 GB, free: 43.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/7.825, allocations: 0 / 3.303 GB, free: 43.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/7.825, allocations: 0 / 3.303 GB, free: 43.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/7.827, allocations: 1.959 MB / 3.305 GB, free: 41.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/7.827, allocations: 4 kB / 3.305 GB, free: 41.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000416/7.828, allocations: 93.53 kB / 3.305 GB, free: 41.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003103/7.828, allocations: 66.27 kB / 3.305 GB, free: 41.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/7.828, allocations: 15.47 kB / 3.305 GB, free: 41.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003456/7.829, allocations: 0.5885 MB / 3.306 GB, free: 40.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/7.829, allocations: 8.094 kB / 3.306 GB, free: 40.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/7.83, allocations: 1.664 MB / 3.307 GB, free: 39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.761e-05/7.83, allocations: 132.1 kB / 3.307 GB, free: 38.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.75e-05/7.83, allocations: 12 kB / 3.307 GB, free: 38.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/7.831, allocations: 30.38 kB / 3.307 GB, free: 38.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.883e-05/7.831, allocations: 29.8 kB / 3.307 GB, free: 38.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.167e-05/7.831, allocations: 11.56 kB / 3.307 GB, free: 38.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.966e-05/7.831, allocations: 95.22 kB / 3.308 GB, free: 38.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/7.831, allocations: 0 / 3.308 GB, free: 38.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006825/7.838, allocations: 0.9615 MB / 3.308 GB, free: 37.76 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.00755/7.846, allocations: 1.256 MB / 3.31 GB, free: 36.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001164/7.847, allocations: 0.5519 MB / 3.31 GB, free: 36.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/7.847, allocations: 0 / 3.31 GB, free: 36.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005384/7.847, allocations: 499.7 kB / 3.311 GB, free: 35.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006439/7.848, allocations: 77.56 kB / 3.311 GB, free: 35.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/7.85, allocations: 1.055 MB / 3.312 GB, free: 34.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/7.85, allocations: 0.8211 MB / 3.313 GB, free: 33.78 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003841/7.85, allocations: 139.2 kB / 3.313 GB, free: 33.69 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/7.85, allocations: 35.14 kB / 3.313 GB, free: 33.66 MB / 426.7 MB Notification: Performance of SimCode: time 4.51e-07/7.85, allocations: 0 / 3.313 GB, free: 33.66 MB / 426.7 MB Notification: Performance of Templates: time 0.03357/7.884, allocations: 27.4 MB / 3.34 GB, free: 7.324 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