Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.WaterIF97.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001045/0.001045, allocations: 196.1 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 226.5 MB / 245.4 MB, free: 6.402 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007661/0.0007659, allocations: 91.97 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002623/0.0002624, allocations: 8 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2066, allocations: 51.3 MB / 409.4 MB, free: 27.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.705/4.912, allocations: 2.788 GB / 3.188 GB, free: 137.5 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/4.912, allocations: 73.28 kB / 3.188 GB, free: 137.5 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2422/5.155, allocations: 108.4 MB / 3.294 GB, free: 30.59 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.743e-06/5.155, allocations: 0 / 3.294 GB, free: 30.59 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/5.155, allocations: 4 kB / 3.294 GB, free: 30.58 MB / 458.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.005158/5.16, allocations: 1.162 MB / 3.295 GB, free: 29.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/5.16, allocations: 8.031 kB / 3.295 GB, free: 29.36 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004666/5.16, allocations: 56.7 kB / 3.295 GB, free: 29.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/5.16, allocations: 216.2 kB / 3.295 GB, free: 29.05 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/5.161, allocations: 16.59 kB / 3.295 GB, free: 29.04 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/5.161, allocations: 20.27 kB / 3.295 GB, free: 29.02 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/5.162, allocations: 390.4 kB / 3.296 GB, free: 28.61 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/5.162, allocations: 8.125 kB / 3.296 GB, free: 28.6 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/5.162, allocations: 7.938 kB / 3.296 GB, free: 28.59 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/5.162, allocations: 4 kB / 3.296 GB, free: 28.59 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/5.163, allocations: 367.6 kB / 3.296 GB, free: 28.23 MB / 458.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.001071/5.164, allocations: 1.184 MB / 3.297 GB, free: 26.95 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007096/5.165, allocations: 292.2 kB / 3.297 GB, free: 26.63 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/5.165, allocations: 114.5 kB / 3.297 GB, free: 26.51 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2619/5.427, allocations: 52.31 MB / 3.349 GB, free: 71.32 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/5.427, allocations: 40.08 kB / 3.349 GB, free: 71.28 MB / 458.7 MB Notification: Performance of pre-optimization done (n=23): time 2.255e-06/5.427, allocations: 0 / 3.349 GB, free: 71.28 MB / 458.7 MB Notification: Performance of matching and sorting (n=33): time 0.006151/5.433, allocations: 1.628 MB / 3.35 GB, free: 71 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/5.433, allocations: 109.2 kB / 3.35 GB, free: 70.88 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.876e-05/5.433, allocations: 124.2 kB / 3.35 GB, free: 70.78 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/5.433, allocations: 29.64 kB / 3.35 GB, free: 70.75 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/5.433, allocations: 104.6 kB / 3.351 GB, free: 70.65 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.612e-05/5.434, allocations: 120 kB / 3.351 GB, free: 70.59 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.911e-05/5.434, allocations: 10.94 kB / 3.351 GB, free: 70.59 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.773e-05/5.434, allocations: 322.1 kB / 3.351 GB, free: 70.28 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/5.434, allocations: 141.8 kB / 3.351 GB, free: 70.28 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/5.434, allocations: 195.9 kB / 3.351 GB, free: 70.22 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006806/5.435, allocations: 366.3 kB / 3.352 GB, free: 70.15 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/5.435, allocations: 3.844 kB / 3.352 GB, free: 70.15 MB / 458.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009295/5.436, allocations: 428.3 kB / 3.352 GB, free: 70.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/5.436, allocations: 6.688 kB / 3.352 GB, free: 70.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/5.436, allocations: 6.156 kB / 3.352 GB, free: 70.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002262/5.436, allocations: 43.53 kB / 3.352 GB, free: 70.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/5.437, allocations: 89.64 kB / 3.352 GB, free: 70.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002558/5.437, allocations: 0.5505 MB / 3.353 GB, free: 69.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002922/5.437, allocations: 32.75 kB / 3.353 GB, free: 69.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/5.437, allocations: 15.12 kB / 3.353 GB, free: 69.57 MB / 458.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.0001242/5.437, allocations: 134.2 kB / 3.353 GB, free: 69.46 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-05/5.437, allocations: 15.53 kB / 3.353 GB, free: 69.45 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/5.439, allocations: 1.469 MB / 3.354 GB, free: 69.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/5.439, allocations: 24.81 kB / 3.354 GB, free: 69.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/5.439, allocations: 0 / 3.354 GB, free: 69.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/5.439, allocations: 3.797 kB / 3.354 GB, free: 69.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0024/5.442, allocations: 1.992 MB / 3.356 GB, free: 68.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/5.442, allocations: 10.55 kB / 3.356 GB, free: 68.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003992/5.442, allocations: 82.48 kB / 3.356 GB, free: 68.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003176/5.443, allocations: 79.89 kB / 3.356 GB, free: 68.91 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/5.443, allocations: 14.55 kB / 3.356 GB, free: 68.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000238/5.443, allocations: 0.5938 MB / 3.357 GB, free: 68.38 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/5.443, allocations: 3.875 kB / 3.357 GB, free: 68.38 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/5.445, allocations: 1.707 MB / 3.359 GB, free: 68 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.189e-05/5.445, allocations: 125.2 kB / 3.359 GB, free: 67.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/5.445, allocations: 11.75 kB / 3.359 GB, free: 67.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/5.445, allocations: 34.2 kB / 3.359 GB, free: 67.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/5.445, allocations: 31.25 kB / 3.359 GB, free: 67.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/5.445, allocations: 17.66 kB / 3.359 GB, free: 67.88 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.453e-05/5.445, allocations: 90.14 kB / 3.359 GB, free: 67.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.3e-07/5.445, allocations: 0 / 3.359 GB, free: 67.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003709/5.449, allocations: 0.974 MB / 3.36 GB, free: 67.8 MB / 458.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.006191/5.455, allocations: 1.25 MB / 3.361 GB, free: 67.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001193/5.456, allocations: 0.6022 MB / 3.362 GB, free: 67.69 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/5.457, allocations: 0 / 3.362 GB, free: 67.69 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006757/5.457, allocations: 0.5212 MB / 3.362 GB, free: 67.68 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000773/5.458, allocations: 81.95 kB / 3.362 GB, free: 67.68 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/5.46, allocations: 1.567 MB / 3.364 GB, free: 67.11 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/5.46, allocations: 0.8199 MB / 3.365 GB, free: 66.42 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003882/5.461, allocations: 130.4 kB / 3.365 GB, free: 66.42 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/5.461, allocations: 36.06 kB / 3.365 GB, free: 66.41 MB / 458.7 MB Notification: Performance of SimCode: time 4.41e-07/5.461, allocations: 0 / 3.365 GB, free: 66.41 MB / 458.7 MB Notification: Performance of Templates: time 0.03733/5.498, allocations: 28.84 MB / 3.393 GB, free: 65.12 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.WaterIF97.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_trunk_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","../files/Modelica_trunk_Modelica.Media.Examples.WaterIF97.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches