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.001228/0.001228, allocations: 181.1 kB / 17.01 MB, free: 5.125 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.978/1.978, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.001024/0.001024, allocations: 92.17 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003327, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3779, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.329/7.707, allocations: 2.782 GB / 3.149 GB, free: 15.69 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/7.707, allocations: 68.28 kB / 3.149 GB, free: 15.65 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4991/8.206, allocations: 107.4 MB / 3.254 GB, free: 83.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.705e-06/8.207, allocations: 0 / 3.254 GB, free: 83.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.502e-05/8.207, allocations: 4 kB / 3.254 GB, free: 83.4 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.006651/8.213, allocations: 1.154 MB / 3.255 GB, free: 82.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/8.213, allocations: 12.03 kB / 3.255 GB, free: 82.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005316/8.214, allocations: 51.3 kB / 3.255 GB, free: 82.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/8.214, allocations: 230.2 kB / 3.255 GB, free: 82.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/8.214, allocations: 12.28 kB / 3.255 GB, free: 82.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-05/8.214, allocations: 12 kB / 3.255 GB, free: 82.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/8.215, allocations: 389.8 kB / 3.256 GB, free: 81.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/8.215, allocations: 3.938 kB / 3.256 GB, free: 81.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.004e-05/8.215, allocations: 12 kB / 3.256 GB, free: 81.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/8.216, allocations: 4 kB / 3.256 GB, free: 81.69 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/8.217, allocations: 360.1 kB / 3.256 GB, free: 81.43 MB / 426.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.001417/8.218, allocations: 1.204 MB / 3.257 GB, free: 80.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007779/8.219, allocations: 283.3 kB / 3.257 GB, free: 79.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08072/8.3, allocations: 47.17 MB / 3.304 GB, free: 28.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/8.3, allocations: 38.75 kB / 3.304 GB, free: 28.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 2.595e-06/8.3, allocations: 0 / 3.304 GB, free: 28.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.006425/8.306, allocations: 1.628 MB / 3.305 GB, free: 26.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/8.306, allocations: 110.9 kB / 3.305 GB, free: 26.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.573e-05/8.306, allocations: 116.8 kB / 3.305 GB, free: 26.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/8.306, allocations: 33.69 kB / 3.305 GB, free: 26.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/8.307, allocations: 96.61 kB / 3.305 GB, free: 25.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.471e-05/8.307, allocations: 122.3 kB / 3.306 GB, free: 25.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-05/8.307, allocations: 8 kB / 3.306 GB, free: 25.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.766e-05/8.307, allocations: 322.8 kB / 3.306 GB, free: 25.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/8.307, allocations: 147.7 kB / 3.306 GB, free: 25.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/8.307, allocations: 202.8 kB / 3.306 GB, free: 25.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003414/8.308, allocations: 160.3 kB / 3.306 GB, free: 25.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/8.308, allocations: 0 / 3.306 GB, free: 25.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009343/8.309, allocations: 438 kB / 3.307 GB, free: 24.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/8.309, allocations: 4 kB / 3.307 GB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/8.309, allocations: 4 kB / 3.307 GB, free: 24.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002562/8.309, allocations: 40.98 kB / 3.307 GB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004439/8.309, allocations: 95.81 kB / 3.307 GB, free: 24.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002661/8.31, allocations: 0.5445 MB / 3.307 GB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003157/8.31, allocations: 36.03 kB / 3.308 GB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/8.31, allocations: 16 kB / 3.308 GB, free: 23.8 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 () * 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 (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.0001282/8.31, allocations: 133.8 kB / 3.308 GB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.464e-05/8.31, allocations: 19.77 kB / 3.308 GB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001762/8.312, allocations: 1.466 MB / 3.309 GB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.096e-05/8.312, allocations: 19.97 kB / 3.309 GB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/8.312, allocations: 0 / 3.309 GB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/8.312, allocations: 3.984 kB / 3.309 GB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002447/8.315, allocations: 1.995 MB / 3.311 GB, free: 20.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/8.315, allocations: 4 kB / 3.311 GB, free: 20.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/8.315, allocations: 87.86 kB / 3.311 GB, free: 19.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003322/8.315, allocations: 80.84 kB / 3.311 GB, free: 19.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/8.315, allocations: 11.98 kB / 3.311 GB, free: 19.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002483/8.316, allocations: 0.5914 MB / 3.312 GB, free: 19.28 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/8.316, allocations: 4 kB / 3.312 GB, free: 19.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/8.318, allocations: 1.762 MB / 3.314 GB, free: 17.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.132e-05/8.318, allocations: 128.4 kB / 3.314 GB, free: 17.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/8.318, allocations: 16 kB / 3.314 GB, free: 17.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003912/8.318, allocations: 24.02 kB / 3.314 GB, free: 17.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/8.318, allocations: 39.83 kB / 3.314 GB, free: 17.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/8.318, allocations: 15.98 kB / 3.314 GB, free: 17.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.237e-05/8.318, allocations: 87.27 kB / 3.314 GB, free: 17.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/8.318, allocations: 8 kB / 3.314 GB, free: 17.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005223/8.324, allocations: 0.9601 MB / 3.315 GB, free: 16.15 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 () * 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 (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.008242/8.332, allocations: 1.239 MB / 3.316 GB, free: 14.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001344/8.333, allocations: 0.5975 MB / 3.317 GB, free: 14.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/8.333, allocations: 0 / 3.317 GB, free: 14.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007594/8.334, allocations: 0.5131 MB / 3.317 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006751/8.335, allocations: 73.52 kB / 3.317 GB, free: 13.72 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/8.337, allocations: 1.564 MB / 3.319 GB, free: 12.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/8.337, allocations: 0.8255 MB / 3.32 GB, free: 11.26 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004445/8.338, allocations: 137.7 kB / 3.32 GB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/8.338, allocations: 43.41 kB / 3.32 GB, free: 11.08 MB / 426.7 MB Notification: Performance of SimCode: time 1.613e-06/8.338, allocations: 0 / 3.32 GB, free: 11.08 MB / 426.7 MB Notification: Performance of Templates: time 0.2577/8.596, allocations: 26.5 MB / 3.346 GB, free: 92.49 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