Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001581/0.001581, allocations: 172.2 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.529/1.529, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.0008423/0.0008421, allocations: 94.64 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.126e-05/3.127e-05, allocations: 0 / 322.5 MB, free: 17.33 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1257, allocations: 47.57 MB / 370 MB, free: 1.695 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.663/6.789, allocations: 2.74 GB / 3.101 GB, free: 80.98 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003564/6.789, allocations: 95.89 kB / 3.101 GB, free: 80.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.127/7.916, allocations: 294.5 MB / 3.389 GB, free: 58.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.786e-06/7.917, allocations: 0 / 3.389 GB, free: 58.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.251e-05/7.917, allocations: 3.812 kB / 3.389 GB, free: 58.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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.003375/7.92, allocations: 0.9079 MB / 3.39 GB, free: 57.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.22e-05/7.92, allocations: 9.656 kB / 3.39 GB, free: 57.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008789/7.921, allocations: 87.06 kB / 3.39 GB, free: 57.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005086/7.921, allocations: 298.9 kB / 3.39 GB, free: 57.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/7.921, allocations: 29.42 kB / 3.39 GB, free: 57.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.409e-05/7.922, allocations: 34.34 kB / 3.39 GB, free: 57.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008319/7.922, allocations: 448.3 kB / 3.391 GB, free: 57.22 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/7.922, allocations: 10.41 kB / 3.391 GB, free: 57.22 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.913e-05/7.922, allocations: 16 kB / 3.391 GB, free: 57.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/7.922, allocations: 8.719 kB / 3.391 GB, free: 57.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005499/7.923, allocations: 323.8 kB / 3.391 GB, free: 57.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.002555/7.926, allocations: 2.618 MB / 3.394 GB, free: 55.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005065/7.926, allocations: 266.1 kB / 3.394 GB, free: 55.13 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/7.926, allocations: 106.8 kB / 3.394 GB, free: 55.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02859/7.955, allocations: 15.37 MB / 3.409 GB, free: 46.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.19e-05/7.955, allocations: 36.06 kB / 3.409 GB, free: 45.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 3.096e-06/7.955, allocations: 1.406 kB / 3.409 GB, free: 45.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.004039/7.959, allocations: 1.17 MB / 3.41 GB, free: 45.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/7.959, allocations: 55.38 kB / 3.41 GB, free: 45.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/7.959, allocations: 237.9 kB / 3.41 GB, free: 45.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/7.959, allocations: 35.73 kB / 3.411 GB, free: 45.44 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/7.96, allocations: 192.8 kB / 3.411 GB, free: 45.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.72e-05/7.96, allocations: 121.6 kB / 3.411 GB, free: 45.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.375e-05/7.96, allocations: 3.125 kB / 3.411 GB, free: 45.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.696e-05/7.96, allocations: 338.5 kB / 3.411 GB, free: 44.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/7.96, allocations: 98.34 kB / 3.411 GB, free: 44.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/7.96, allocations: 215.8 kB / 3.411 GB, free: 44.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/7.96, allocations: 129.8 kB / 3.412 GB, free: 44.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/7.96, allocations: 3.938 kB / 3.412 GB, free: 44.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006333/7.961, allocations: 430 kB / 3.412 GB, free: 44.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/7.961, allocations: 9.5 kB / 3.412 GB, free: 44.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/7.961, allocations: 5.469 kB / 3.412 GB, free: 44.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003646/7.965, allocations: 264.4 kB / 3.412 GB, free: 44.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/7.965, allocations: 82.97 kB / 3.412 GB, free: 44.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/7.966, allocations: 1.865 MB / 3.414 GB, free: 42.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/7.966, allocations: 27.16 kB / 3.414 GB, free: 42.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/7.966, allocations: 22.55 kB / 3.414 GB, free: 42.92 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000116/7.967, allocations: 130.5 kB / 3.414 GB, free: 42.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/7.967, allocations: 30.66 kB / 3.414 GB, free: 42.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/7.968, allocations: 0.9454 MB / 3.415 GB, free: 42.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/7.968, allocations: 10.56 kB / 3.415 GB, free: 42.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/7.968, allocations: 3.953 kB / 3.415 GB, free: 42.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000892/7.969, allocations: 1.112 MB / 3.416 GB, free: 42.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/7.97, allocations: 1.583 MB / 3.418 GB, free: 41.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/7.97, allocations: 8.125 kB / 3.418 GB, free: 41.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/7.971, allocations: 51.28 kB / 3.418 GB, free: 41.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001617/7.972, allocations: 284.9 kB / 3.418 GB, free: 41.76 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/7.972, allocations: 11.38 kB / 3.418 GB, free: 41.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004478/7.973, allocations: 0.6566 MB / 3.419 GB, free: 41.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/7.973, allocations: 0 / 3.419 GB, free: 41.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009741/7.974, allocations: 0.9575 MB / 3.42 GB, free: 41.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/7.974, allocations: 135 kB / 3.42 GB, free: 40.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.838e-05/7.974, allocations: 9.156 kB / 3.42 GB, free: 40.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/7.974, allocations: 15.08 kB / 3.42 GB, free: 40.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.49e-05/7.974, allocations: 26.53 kB / 3.42 GB, free: 40.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/7.974, allocations: 7.344 kB / 3.42 GB, free: 40.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002606/7.975, allocations: 236.5 kB / 3.42 GB, free: 40.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/7.975, allocations: 0 / 3.42 GB, free: 40.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003122/7.978, allocations: 0.545 MB / 3.421 GB, free: 40.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002879/7.981, allocations: 0.858 MB / 3.422 GB, free: 40.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001126/7.982, allocations: 0.5117 MB / 3.422 GB, free: 40.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/7.982, allocations: 3.156 kB / 3.422 GB, free: 40.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004226/7.982, allocations: 296.8 kB / 3.422 GB, free: 40.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/7.983, allocations: 186.8 kB / 3.423 GB, free: 40.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/7.985, allocations: 0.7452 MB / 3.423 GB, free: 40.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/7.985, allocations: 0.8322 MB / 3.424 GB, free: 39.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003378/7.985, allocations: 120.1 kB / 3.424 GB, free: 39.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.768e-05/7.985, allocations: 33.31 kB / 3.424 GB, free: 39.44 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/7.985, allocations: 0 / 3.424 GB, free: 39.44 MB / 426.7 MB Notification: Performance of Templates: time 0.03263/8.018, allocations: 23.69 MB / 3.447 GB, free: 38.04 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches