Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 179.3 kB / 18.09 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 223.3 MB / 242.1 MB, free: 9.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008633/0.0008632, allocations: 105.9 kB / 293.3 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.31/0.31, allocations: 44.14 MB / 388.5 MB, free: 38.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000536/0.0005361, allocations: 12 kB / 461.1 MB, free: 1.281 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3441, allocations: 61.87 MB / 0.5107 GB, free: 37.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.982/6.326, allocations: 2.799 GB / 3.31 GB, free: 55.69 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/6.326, allocations: 95.94 kB / 3.31 GB, free: 55.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.974/8.3, allocations: 482.8 MB / 3.782 GB, free: 51.83 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.704e-06/8.3, allocations: 2.516 kB / 3.782 GB, free: 51.83 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.895e-05/8.3, allocations: 18.22 kB / 3.782 GB, free: 51.83 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.009261/8.31, allocations: 1.771 MB / 3.783 GB, free: 51.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.858e-05/8.31, allocations: 13.06 kB / 3.783 GB, free: 51.19 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002298/8.312, allocations: 234.7 kB / 3.784 GB, free: 51.15 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001882/8.314, allocations: 0.597 MB / 3.784 GB, free: 50.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001982/8.314, allocations: 110.4 kB / 3.784 GB, free: 50.84 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002961/8.315, allocations: 56.66 kB / 3.784 GB, free: 50.84 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002537/8.317, allocations: 1.069 MB / 3.785 GB, free: 50.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.584e-05/8.317, allocations: 14.19 kB / 3.785 GB, free: 50.51 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/8.317, allocations: 27.56 kB / 3.785 GB, free: 50.51 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.119e-05/8.317, allocations: 38.36 kB / 3.785 GB, free: 50.51 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/8.319, allocations: 0.8053 MB / 3.786 GB, free: 50.51 MB / 0.5261 GB 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.00563/8.325, allocations: 5.547 MB / 3.792 GB, free: 46.67 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/8.326, allocations: 0.5316 MB / 3.792 GB, free: 46.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/8.326, allocations: 205.4 kB / 3.792 GB, free: 46.58 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08951/8.416, allocations: 47.21 MB / 3.838 GB, free: 33.98 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.645e-05/8.416, allocations: 43.19 kB / 3.838 GB, free: 33.94 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=39): time 2.595e-06/8.416, allocations: 0 / 3.838 GB, free: 33.94 MB / 0.5417 GB Notification: Performance of matching and sorting (n=44): time 0.007159/8.423, allocations: 2.111 MB / 3.841 GB, free: 33.37 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/8.423, allocations: 188 kB / 3.841 GB, free: 33.15 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009799/8.424, allocations: 0.6321 MB / 3.841 GB, free: 33.01 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.033e-05/8.424, allocations: 36.61 kB / 3.841 GB, free: 32.98 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/8.425, allocations: 397.8 kB / 3.842 GB, free: 32.77 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/8.425, allocations: 162.2 kB / 3.842 GB, free: 32.67 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/8.425, allocations: 19.94 kB / 3.842 GB, free: 32.66 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001828/8.425, allocations: 383.3 kB / 3.842 GB, free: 32.35 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004085/8.425, allocations: 223.4 kB / 3.842 GB, free: 32.35 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005828/8.426, allocations: 0.5907 MB / 3.843 GB, free: 31.88 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009798/8.427, allocations: 0.8593 MB / 3.844 GB, free: 31.43 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/8.427, allocations: 3.719 kB / 3.844 GB, free: 31.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001564/8.429, allocations: 0.8824 MB / 3.845 GB, free: 31.34 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/8.429, allocations: 14.47 kB / 3.845 GB, free: 31.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/8.429, allocations: 11.62 kB / 3.845 GB, free: 31.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00354/8.432, allocations: 267.6 kB / 3.845 GB, free: 31.33 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/8.433, allocations: 276.4 kB / 3.845 GB, free: 31.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/8.435, allocations: 2.027 MB / 3.847 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009426/8.436, allocations: 66.06 kB / 3.847 GB, free: 29.47 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-05/8.436, allocations: 39.47 kB / 3.847 GB, free: 29.47 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006206/8.437, allocations: 276.3 kB / 3.848 GB, free: 29.35 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002403/8.437, allocations: 70.25 kB / 3.848 GB, free: 29.31 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002251/8.439, allocations: 2.031 MB / 3.85 GB, free: 29.05 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/8.439, allocations: 19.61 kB / 3.85 GB, free: 29.05 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/8.439, allocations: 1.188 kB / 3.85 GB, free: 29.05 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/8.439, allocations: 7.016 kB / 3.85 GB, free: 29.05 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003876/8.443, allocations: 2.998 MB / 3.853 GB, free: 28.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/8.443, allocations: 0 / 3.853 GB, free: 28.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008429/8.444, allocations: 180.3 kB / 3.853 GB, free: 28.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/8.446, allocations: 309.8 kB / 3.853 GB, free: 28.58 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.716e-05/8.446, allocations: 8.156 kB / 3.853 GB, free: 28.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/8.448, allocations: 2.084 MB / 3.855 GB, free: 26.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/8.448, allocations: 3.438 kB / 3.855 GB, free: 26.73 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/8.45, allocations: 1.94 MB / 3.857 GB, free: 26.34 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006296/8.451, allocations: 292.1 kB / 3.857 GB, free: 26.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/8.451, allocations: 9.094 kB / 3.857 GB, free: 26.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006607/8.451, allocations: 33.58 kB / 3.857 GB, free: 26.16 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.034e-05/8.452, allocations: 33.44 kB / 3.857 GB, free: 26.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/8.452, allocations: 22.91 kB / 3.857 GB, free: 26.16 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009028/8.452, allocations: 0.5613 MB / 3.858 GB, free: 26.06 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/8.452, allocations: 0 / 3.858 GB, free: 26.06 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006292/8.459, allocations: 1.143 MB / 3.859 GB, free: 25.91 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.008598/8.467, allocations: 1.567 MB / 3.861 GB, free: 25.55 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002127/8.47, allocations: 0.9059 MB / 3.862 GB, free: 25.54 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/8.47, allocations: 7.812 kB / 3.862 GB, free: 25.53 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/8.471, allocations: 0.6384 MB / 3.862 GB, free: 25.52 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/8.473, allocations: 379.8 kB / 3.862 GB, free: 25.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003363/8.477, allocations: 2.575 MB / 3.865 GB, free: 24.35 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007433/8.477, allocations: 1.094 MB / 3.866 GB, free: 23.63 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008858/8.478, allocations: 353.6 kB / 3.866 GB, free: 23.61 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/8.478, allocations: 64.03 kB / 3.866 GB, free: 23.6 MB / 0.5417 GB Notification: Performance of SimCode: time 7.12e-07/8.478, allocations: 0 / 3.866 GB, free: 23.6 MB / 0.5417 GB Notification: Performance of Templates: time 0.05878/8.537, allocations: 41.93 MB / 3.907 GB, free: 21.39 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches