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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 113.3 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 181.1 kB / 19.38 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.189/0.189, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 67.89 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2957, allocations: 60.82 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04113/0.3369, allocations: 39.03 MB / 0.5577 GB, free: 4.941 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02386/0.3608, allocations: 20.15 MB / 0.5774 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009426/0.3618, allocations: 19.88 kB / 0.5774 GB, free: 0.707 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001365/0.3632, allocations: 445.3 kB / 0.5778 GB, free: 276 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01357/0.3768, allocations: 5.112 MB / 0.5828 GB, free: 11.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006667/0.3834, allocations: 2.559 MB / 0.5853 GB, free: 8.598 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002591/0.3861, allocations: 1.962 MB / 0.5872 GB, free: 6.625 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008471/0.3869, allocations: 485.5 kB / 0.5877 GB, free: 6.137 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008278/0.3952, allocations: 4.152 MB / 0.5917 GB, free: 1.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009698/0.4049, allocations: 5.424 MB / 0.597 GB, free: 12.42 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002392/0.4052, allocations: 72 kB / 0.5971 GB, free: 12.35 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01258/0.4178, allocations: 7.235 MB / 0.6042 GB, free: 5.105 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004045/0.4183, allocations: 291.1 kB / 0.6044 GB, free: 4.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005807/0.4189, allocations: 446 kB / 0.6049 GB, free: 4.383 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009596/0.4285, allocations: 4.958 MB / 0.6097 GB, free: 15.41 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.4285, allocations: 3.984 kB / 0.6097 GB, free: 15.41 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4285, allocations: 4 kB / 0.6097 GB, free: 15.41 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.805e-05/0.4285, allocations: 0 / 0.6097 GB, free: 15.41 MB / 478.1 MB 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.003666/0.4322, allocations: 1.614 MB / 0.6113 GB, free: 13.74 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.4322, allocations: 12.03 kB / 0.6113 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/0.4337, allocations: 223.8 kB / 0.6115 GB, free: 13.51 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007925/0.4345, allocations: 0.5715 MB / 0.6121 GB, free: 12.9 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-05/0.4346, allocations: 109.3 kB / 0.6122 GB, free: 12.78 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.511e-05/0.4347, allocations: 64.12 kB / 0.6122 GB, free: 12.71 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.4365, allocations: 1.075 MB / 0.6133 GB, free: 11.53 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.4365, allocations: 7.938 kB / 0.6133 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.657e-05/0.4366, allocations: 28 kB / 0.6133 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.538e-05/0.4367, allocations: 48.97 kB / 0.6134 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.4382, allocations: 0.8232 MB / 0.6142 GB, free: 10.62 MB / 478.1 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.005238/0.4435, allocations: 5.55 MB / 0.6196 GB, free: 4.711 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.4446, allocations: 0.5271 MB / 0.6201 GB, free: 4.156 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/0.4449, allocations: 215 kB / 0.6203 GB, free: 3.938 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09324/0.5382, allocations: 47.66 MB / 0.6669 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/0.5383, allocations: 46.55 kB / 0.6669 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=39): time 2.925e-06/0.5383, allocations: 0 / 0.6669 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44): time 0.006438/0.5447, allocations: 2.121 MB / 0.669 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.695e-05/0.5448, allocations: 199.8 kB / 0.6692 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007932/0.5456, allocations: 0.6328 MB / 0.6698 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.09e-05/0.5457, allocations: 37.7 kB / 0.6698 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/0.546, allocations: 395.2 kB / 0.6702 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.5461, allocations: 169.8 kB / 0.6704 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.5463, allocations: 158.4 kB / 0.6705 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.5465, allocations: 382.8 kB / 0.6709 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.5469, allocations: 229.9 kB / 0.6711 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005826/0.5474, allocations: 0.5899 MB / 0.6717 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000989/0.5484, allocations: 0.8638 MB / 0.6725 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.5485, allocations: 4 kB / 0.6725 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001429/0.5499, allocations: 0.9039 MB / 0.6734 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.5499, allocations: 8 kB / 0.6734 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.55, allocations: 12 kB / 0.6734 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003149/0.5531, allocations: 276.5 kB / 0.6737 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.5543, allocations: 279.8 kB / 0.674 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/0.5559, allocations: 2.117 MB / 0.676 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005714/0.5565, allocations: 28 kB / 0.6761 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-05/0.5566, allocations: 43.98 kB / 0.6761 GB, free: 4.539 MB / 0.5294 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],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004204/0.557, allocations: 273.6 kB / 0.6764 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.5573, allocations: 71.16 kB / 0.6764 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002262/0.5595, allocations: 2.002 MB / 0.6784 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.431e-05/0.5596, allocations: 31.97 kB / 0.6784 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5596, allocations: 0 / 0.6784 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.5596, allocations: 7.984 kB / 0.6784 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003325/0.5629, allocations: 2.987 MB / 0.6813 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/0.5629, allocations: 4 kB / 0.6813 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008905/0.5638, allocations: 187.8 kB / 0.6815 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001692/0.5655, allocations: 295.9 kB / 0.6818 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.265e-05/0.5656, allocations: 16 kB / 0.6818 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/0.5673, allocations: 2.18 MB / 0.6839 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.5673, allocations: 3.938 kB / 0.6839 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/0.5696, allocations: 1.945 MB / 0.6858 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004942/0.5701, allocations: 227.6 kB / 0.6861 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/0.5703, allocations: 27.69 kB / 0.6861 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004876/0.5708, allocations: 19.98 kB / 0.6861 GB, free: 9.961 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.5709, allocations: 24.5 kB / 0.6861 GB, free: 9.938 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/0.5709, allocations: 19.98 kB / 0.6862 GB, free: 9.918 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000803/0.5717, allocations: 0.5811 MB / 0.6867 GB, free: 9.344 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.723e-06/0.5717, allocations: 3.938 kB / 0.6867 GB, free: 9.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003223/0.575, allocations: 1.089 MB / 0.6878 GB, free: 8.25 MB / 0.545 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004949/0.5799, allocations: 1.203 MB / 0.689 GB, free: 7.051 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002016/0.582, allocations: 0.9128 MB / 0.6899 GB, free: 6.141 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.582, allocations: 4 kB / 0.6899 GB, free: 6.137 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.5832, allocations: 0.6283 MB / 0.6905 GB, free: 5.512 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/0.5854, allocations: 395.1 kB / 0.6908 GB, free: 5.133 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003362/0.5888, allocations: 2.171 MB / 0.693 GB, free: 2.926 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006629/0.5895, allocations: 1.085 MB / 0.694 GB, free: 1.812 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.5897, allocations: 71.42 kB / 0.6941 GB, free: 1.742 MB / 0.545 GB Notification: Performance of SimCode: time 7.01e-07/0.5897, allocations: 0 / 0.6941 GB, free: 1.742 MB / 0.545 GB Notification: Performance of Templates: time 0.2471/0.8368, allocations: 37.21 MB / 0.7304 GB, free: 196.9 MB / 0.5762 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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