Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001521/0.001521, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00182/0.00182, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 177 MB / 204.4 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3356/0.3356, allocations: 34.25 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 3.938 kB / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.999e-05/3.164e-05, allocations: 2.312 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.04761/0.04764, allocations: 35.65 MB / 412.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02843/0.07607, allocations: 18.02 MB / 430.9 MB, free: 13.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007407/0.07681, allocations: 27.75 kB / 430.9 MB, free: 13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.0781, allocations: 417.2 kB / 431.3 MB, free: 12.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01416/0.09227, allocations: 5.186 MB / 436.5 MB, free: 7.383 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007406/0.09968, allocations: 2.594 MB / 439.1 MB, free: 4.777 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003442/0.1031, allocations: 2.043 MB / 441.2 MB, free: 2.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008439/0.104, allocations: 457.9 kB / 441.6 MB, free: 2.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1644/0.2683, allocations: 4.427 MB / 446 MB, free: 50.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009079/0.2774, allocations: 5.443 MB / 451.5 MB, free: 49.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002339/0.2777, allocations: 72.09 kB / 451.5 MB, free: 49.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01215/0.2898, allocations: 7.069 MB / 458.6 MB, free: 49.31 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005405/0.2903, allocations: 307.9 kB / 458.9 MB, free: 49.31 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007151/0.2911, allocations: 330 kB / 459.2 MB, free: 49.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01346/0.3045, allocations: 6.291 MB / 465.5 MB, free: 49.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3045, allocations: 0 / 465.5 MB, free: 49.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3045, allocations: 0 / 465.5 MB, free: 49.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.3045, allocations: 1.531 kB / 465.5 MB, free: 49.23 MB / 410.7 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.004043/0.3086, allocations: 1.618 MB / 467.1 MB, free: 48.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3086, allocations: 9.875 kB / 467.2 MB, free: 48.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00221/0.3108, allocations: 460.7 kB / 467.6 MB, free: 48.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009098/0.3117, allocations: 0.5445 MB / 468.1 MB, free: 48.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.3119, allocations: 166.4 kB / 468.3 MB, free: 47.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.312, allocations: 69.95 kB / 468.4 MB, free: 47.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/0.3141, allocations: 1.475 MB / 469.9 MB, free: 47.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.3141, allocations: 6.562 kB / 469.9 MB, free: 47.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.991e-05/0.3142, allocations: 34.67 kB / 469.9 MB, free: 47.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.808e-05/0.3142, allocations: 41.98 kB / 469.9 MB, free: 47.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.3156, allocations: 0.8474 MB / 470.8 MB, free: 47.3 MB / 410.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.004681/0.3203, allocations: 4.356 MB / 475.1 MB, free: 44.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.3214, allocations: 0.5594 MB / 475.7 MB, free: 44.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.3217, allocations: 210.8 kB / 475.9 MB, free: 44.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08048/0.4022, allocations: 26.04 MB / 0.4902 GB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.146e-05/0.4023, allocations: 45.27 kB / 0.4902 GB, free: 41.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 2.766e-06/0.4023, allocations: 0 / 0.4902 GB, free: 41.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.00518/0.4074, allocations: 1.927 MB / 0.4921 GB, free: 41.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.4075, allocations: 163.3 kB / 0.4923 GB, free: 41.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005603/0.4081, allocations: 0.5401 MB / 0.4928 GB, free: 40.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.252e-05/0.4081, allocations: 41.55 kB / 0.4928 GB, free: 40.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.4083, allocations: 414.5 kB / 0.4932 GB, free: 40.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.715e-05/0.4084, allocations: 174.2 kB / 0.4934 GB, free: 40.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.4085, allocations: 156.5 kB / 0.4935 GB, free: 40.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.587e-05/0.4086, allocations: 374.4 kB / 0.4939 GB, free: 39.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003292/0.409, allocations: 227 kB / 0.4941 GB, free: 39.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/0.4094, allocations: 0.6428 MB / 0.4947 GB, free: 38.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008068/0.4103, allocations: 0.8366 MB / 0.4956 GB, free: 37.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.4103, allocations: 0 / 0.4956 GB, free: 37.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001249/0.4115, allocations: 0.9028 MB / 0.4964 GB, free: 36.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.4115, allocations: 15.98 kB / 0.4965 GB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.4115, allocations: 12.88 kB / 0.4965 GB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003171/0.4119, allocations: 68.02 kB / 0.4965 GB, free: 36.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.413, allocations: 276.9 kB / 0.4968 GB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.4141, allocations: 1.954 MB / 0.4987 GB, free: 34.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005383/0.4147, allocations: 30.3 kB / 0.4987 GB, free: 34.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-05/0.4147, allocations: 40 kB / 0.4988 GB, free: 34.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003997/0.4151, allocations: 270.7 kB / 0.499 GB, free: 34.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.4153, allocations: 83.56 kB / 0.4991 GB, free: 34.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.4173, allocations: 2.321 MB / 0.5014 GB, free: 31.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.4174, allocations: 27.95 kB / 0.5014 GB, free: 31.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.4174, allocations: 4 kB / 0.5014 GB, free: 31.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4174, allocations: 0 / 0.5014 GB, free: 31.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002776/0.4201, allocations: 3.119 MB / 0.5045 GB, free: 28.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.4201, allocations: 4 kB / 0.5045 GB, free: 28.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008828/0.421, allocations: 186.3 kB / 0.5046 GB, free: 28.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003349/0.4214, allocations: 84.78 kB / 0.5047 GB, free: 28.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/0.4214, allocations: 15.98 kB / 0.5047 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.4224, allocations: 1.978 MB / 0.5067 GB, free: 26.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4224, allocations: 0 / 0.5067 GB, free: 26.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.4242, allocations: 2.051 MB / 0.5087 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002828/0.4245, allocations: 175 kB / 0.5088 GB, free: 23.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.44e-05/0.4246, allocations: 30.25 kB / 0.5089 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004672/0.425, allocations: 27.97 kB / 0.5089 GB, free: 23.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.377e-05/0.4251, allocations: 32.44 kB / 0.5089 GB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-05/0.4252, allocations: 23.98 kB / 0.5089 GB, free: 23.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004461/0.4256, allocations: 463.2 kB / 0.5094 GB, free: 23.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4256, allocations: 4 kB / 0.5094 GB, free: 23.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002924/0.4285, allocations: 1.096 MB / 0.5105 GB, free: 22.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004438/0.433, allocations: 1.347 MB / 0.5118 GB, free: 21.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001754/0.4347, allocations: 0.9276 MB / 0.5127 GB, free: 20.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4347, allocations: 4.062 kB / 0.5127 GB, free: 20.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.4357, allocations: 0.623 MB / 0.5133 GB, free: 19.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.4374, allocations: 357.7 kB / 0.5136 GB, free: 19.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/0.44, allocations: 2.216 MB / 0.5158 GB, free: 16.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.4404, allocations: 0.5209 MB / 0.5163 GB, free: 16.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006754/0.4411, allocations: 443.5 kB / 0.5167 GB, free: 16.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.4412, allocations: 60.5 kB / 0.5168 GB, free: 15.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4412, allocations: 0 / 0.5168 GB, free: 15.95 MB / 410.7 MB Notification: Performance of Templates: time 0.06637/0.5075, allocations: 45.17 MB / 0.5609 GB, free: 3.145 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.65742596599739]