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.001003/0.001003, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.199/1.199, allocations: 227.2 MB / 245 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007898/0.0007897, allocations: 101.5 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002369/0.0002371, allocations: 8 kB / 357.9 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2025, allocations: 51.48 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.616/4.818, allocations: 2.788 GB / 3.188 GB, free: 123.9 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/4.819, allocations: 67.42 kB / 3.188 GB, free: 123.9 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.255/5.074, allocations: 108.4 MB / 3.294 GB, free: 16.83 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.124e-06/5.074, allocations: 0 / 3.294 GB, free: 16.83 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.62e-05/5.074, allocations: 4 kB / 3.294 GB, free: 16.83 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.005623/5.079, allocations: 1.162 MB / 3.295 GB, free: 15.61 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/5.079, allocations: 8.031 kB / 3.295 GB, free: 15.61 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004917/5.08, allocations: 55.77 kB / 3.295 GB, free: 15.55 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/5.08, allocations: 223.2 kB / 3.295 GB, free: 15.29 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/5.08, allocations: 12.28 kB / 3.295 GB, free: 15.28 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.79e-05/5.08, allocations: 16 kB / 3.295 GB, free: 15.27 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/5.081, allocations: 393.4 kB / 3.295 GB, free: 14.86 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/5.081, allocations: 3.984 kB / 3.295 GB, free: 14.85 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/5.081, allocations: 8 kB / 3.295 GB, free: 14.84 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/5.081, allocations: 4 kB / 3.295 GB, free: 14.84 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/5.083, allocations: 371.5 kB / 3.296 GB, free: 14.48 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.001169/5.084, allocations: 1.196 MB / 3.297 GB, free: 13.18 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007379/5.085, allocations: 292.2 kB / 3.297 GB, free: 12.86 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2826/5.367, allocations: 52.31 MB / 3.348 GB, free: 59.22 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/5.367, allocations: 37.52 kB / 3.348 GB, free: 59.18 MB / 458.7 MB Notification: Performance of pre-optimization done (n=23): time 2.114e-06/5.367, allocations: 3.219 kB / 3.348 GB, free: 59.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=33): time 0.006556/5.374, allocations: 1.619 MB / 3.35 GB, free: 58.88 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/5.374, allocations: 111.3 kB / 3.35 GB, free: 58.75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.708e-05/5.374, allocations: 113.4 kB / 3.35 GB, free: 58.66 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/5.374, allocations: 36.73 kB / 3.35 GB, free: 58.62 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/5.374, allocations: 101.3 kB / 3.35 GB, free: 58.53 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.225e-05/5.374, allocations: 121.1 kB / 3.35 GB, free: 58.47 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.092e-05/5.374, allocations: 6.562 kB / 3.35 GB, free: 58.47 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.995e-05/5.374, allocations: 322.9 kB / 3.351 GB, free: 58.16 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000339/5.375, allocations: 138.9 kB / 3.351 GB, free: 58.16 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/5.375, allocations: 206 kB / 3.351 GB, free: 58.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/5.375, allocations: 156 kB / 3.351 GB, free: 58.09 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/5.375, allocations: 3.953 kB / 3.351 GB, free: 58.08 MB / 458.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009747/5.376, allocations: 429.5 kB / 3.352 GB, free: 58.03 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/5.376, allocations: 10.22 kB / 3.352 GB, free: 58.03 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/5.376, allocations: 3.938 kB / 3.352 GB, free: 58.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002315/5.377, allocations: 44.17 kB / 3.352 GB, free: 58.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004373/5.377, allocations: 87.05 kB / 3.352 GB, free: 58.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002634/5.377, allocations: 0.5432 MB / 3.352 GB, free: 57.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003195/5.378, allocations: 34.62 kB / 3.352 GB, free: 57.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/5.378, allocations: 19.16 kB / 3.352 GB, free: 57.49 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.0001464/5.378, allocations: 134.6 kB / 3.352 GB, free: 57.38 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.192e-05/5.378, allocations: 23.11 kB / 3.352 GB, free: 57.37 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001981/5.38, allocations: 1.464 MB / 3.354 GB, free: 57.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-05/5.38, allocations: 19.47 kB / 3.354 GB, free: 57.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/5.38, allocations: 3.781 kB / 3.354 GB, free: 57.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/5.38, allocations: 7.797 kB / 3.354 GB, free: 57.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002765/5.383, allocations: 1.996 MB / 3.356 GB, free: 56.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/5.383, allocations: 7.438 kB / 3.356 GB, free: 56.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004359/5.383, allocations: 82.61 kB / 3.356 GB, free: 56.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003329/5.384, allocations: 78.88 kB / 3.356 GB, free: 56.79 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-05/5.384, allocations: 18.28 kB / 3.356 GB, free: 56.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002737/5.384, allocations: 0.5847 MB / 3.357 GB, free: 56.26 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/5.384, allocations: 0 / 3.357 GB, free: 56.26 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/5.386, allocations: 1.78 MB / 3.358 GB, free: 55.77 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.724e-05/5.386, allocations: 131 kB / 3.358 GB, free: 55.66 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.635e-05/5.386, allocations: 10.44 kB / 3.358 GB, free: 55.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000373/5.387, allocations: 27 kB / 3.358 GB, free: 55.66 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.088e-05/5.387, allocations: 29.48 kB / 3.359 GB, free: 55.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/5.387, allocations: 20.78 kB / 3.359 GB, free: 55.65 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.986e-05/5.387, allocations: 92.19 kB / 3.359 GB, free: 55.57 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/5.387, allocations: 0 / 3.359 GB, free: 55.57 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004224/5.391, allocations: 0.9709 MB / 3.36 GB, free: 55.57 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.007667/5.399, allocations: 1.256 MB / 3.361 GB, free: 55.41 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001529/5.4, allocations: 0.6005 MB / 3.361 GB, free: 55.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/5.4, allocations: 0 / 3.361 GB, free: 55.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008578/5.401, allocations: 0.5239 MB / 3.362 GB, free: 55.39 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006892/5.402, allocations: 72.2 kB / 3.362 GB, free: 55.38 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/5.404, allocations: 1.554 MB / 3.363 GB, free: 54.71 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/5.405, allocations: 0.8271 MB / 3.364 GB, free: 54.01 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004517/5.405, allocations: 137.5 kB / 3.364 GB, free: 53.99 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/5.405, allocations: 41.61 kB / 3.364 GB, free: 53.98 MB / 458.7 MB Notification: Performance of SimCode: time 2.51e-07/5.405, allocations: 0 / 3.364 GB, free: 53.98 MB / 458.7 MB Notification: Performance of Templates: time 0.03613/5.441, allocations: 26.58 MB / 3.39 GB, free: 52.56 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/jenkins/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