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.002642/0.002642, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.003028/0.003028, allocations: 160.8 kB / 24.27 MB, free: 152 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.568/1.568, allocations: 177 MB / 204.4 MB, free: 5.633 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.3301/0.3301, allocations: 34.25 MB / 295.2 MB, free: 0.6289 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.533e-06/1.533e-06, allocations: 0 / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.807e-05, allocations: 6.312 kB / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.05591/0.05594, allocations: 40.12 MB / 417.4 MB, free: 10.62 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.031/0.08694, allocations: 20.13 MB / 437.5 MB, free: 6.418 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007855/0.08772, allocations: 27.75 kB / 437.5 MB, free: 6.391 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.08911, allocations: 417.2 kB / 437.9 MB, free: 5.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01495/0.1041, allocations: 5.193 MB / 443.1 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1906/0.2946, allocations: 2.583 MB / 445.7 MB, free: 49.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002665/0.2973, allocations: 2.044 MB / 447.7 MB, free: 49.33 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00059/0.2979, allocations: 457.8 kB / 448.2 MB, free: 49.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008987/0.3069, allocations: 4.45 MB / 452.6 MB, free: 48.24 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01201/0.3189, allocations: 5.432 MB / 458.1 MB, free: 46.76 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004299/0.3193, allocations: 71.53 kB / 458.1 MB, free: 46.76 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01561/0.3349, allocations: 7.065 MB / 465.2 MB, free: 46.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000689/0.3356, allocations: 314.8 kB / 465.5 MB, free: 46.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008835/0.3365, allocations: 332.2 kB / 465.8 MB, free: 46.65 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01563/0.3521, allocations: 6.293 MB / 472.1 MB, free: 46.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.3521, allocations: 4 kB / 472.1 MB, free: 46.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3521, allocations: 0 / 472.1 MB, free: 46.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.3522, allocations: 0 / 472.1 MB, free: 46.47 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.004501/0.3567, allocations: 1.777 MB / 473.9 MB, free: 45.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.3567, allocations: 8.781 kB / 473.9 MB, free: 45.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00223/0.3589, allocations: 446.4 kB / 474.3 MB, free: 45.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.36, allocations: 0.5333 MB / 474.9 MB, free: 45.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.3601, allocations: 160.9 kB / 475 MB, free: 45.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.3602, allocations: 65.83 kB / 475.1 MB, free: 45.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002301/0.3625, allocations: 1.48 MB / 476.6 MB, free: 44.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/0.3626, allocations: 6.875 kB / 476.6 MB, free: 44.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.175e-05/0.3627, allocations: 35.55 kB / 476.6 MB, free: 44.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.34e-05/0.3627, allocations: 43.05 kB / 476.7 MB, free: 44.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/0.3644, allocations: 0.6775 MB / 477.3 MB, free: 44.26 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.006121/0.3705, allocations: 5.686 MB / 483 MB, free: 40.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.3718, allocations: 0.5224 MB / 483.6 MB, free: 40.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00031/0.3721, allocations: 193.9 kB / 483.7 MB, free: 40.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08775/0.4598, allocations: 26.08 MB / 0.4979 GB, free: 34.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.258e-05/0.4599, allocations: 43.77 kB / 0.4979 GB, free: 34.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 2.826e-06/0.4599, allocations: 0 / 0.4979 GB, free: 34.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.004589/0.4645, allocations: 1.75 MB / 0.4996 GB, free: 32.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.4645, allocations: 162.2 kB / 0.4998 GB, free: 32.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006101/0.4651, allocations: 0.6858 MB / 0.5004 GB, free: 31.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/0.4652, allocations: 29.7 kB / 0.5005 GB, free: 31.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.4654, allocations: 489.7 kB / 0.5009 GB, free: 31.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.4655, allocations: 192.7 kB / 0.5011 GB, free: 31.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.4657, allocations: 188.2 kB / 0.5013 GB, free: 30.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4659, allocations: 0.5859 MB / 0.5019 GB, free: 30.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/0.4662, allocations: 169 kB / 0.502 GB, free: 30.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004912/0.4666, allocations: 0.7502 MB / 0.5028 GB, free: 29.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008202/0.4675, allocations: 0.901 MB / 0.5037 GB, free: 28.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.4675, allocations: 8 kB / 0.5037 GB, free: 28.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001109/0.4686, allocations: 0.7941 MB / 0.5044 GB, free: 27.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.4686, allocations: 12 kB / 0.5044 GB, free: 27.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.4686, allocations: 8 kB / 0.5045 GB, free: 27.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002848/0.4689, allocations: 64.44 kB / 0.5045 GB, free: 27.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.47, allocations: 276.8 kB / 0.5048 GB, free: 27.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.4712, allocations: 2.723 MB / 0.5074 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004883/0.4717, allocations: 31.98 kB / 0.5075 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.988e-05/0.4717, allocations: 36 kB / 0.5075 GB, free: 24.17 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.0003312/0.4721, allocations: 282.6 kB / 0.5078 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.4722, allocations: 87.52 kB / 0.5079 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.4737, allocations: 1.479 MB / 0.5093 GB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.4737, allocations: 31.95 kB / 0.5093 GB, free: 22.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.4737, allocations: 0 / 0.5093 GB, free: 22.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.4737, allocations: 7.359 kB / 0.5093 GB, free: 22.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.4761, allocations: 2.239 MB / 0.5115 GB, free: 20.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.4761, allocations: 0 / 0.5115 GB, free: 20.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008037/0.4769, allocations: 190.8 kB / 0.5117 GB, free: 19.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003398/0.4772, allocations: 71.52 kB / 0.5118 GB, free: 19.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.4772, allocations: 15.98 kB / 0.5118 GB, free: 19.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.4783, allocations: 2.694 MB / 0.5144 GB, free: 16.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4783, allocations: 0 / 0.5144 GB, free: 16.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.4796, allocations: 1.484 MB / 0.5159 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002855/0.4799, allocations: 171 kB / 0.516 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.291e-05/0.48, allocations: 22.95 kB / 0.5161 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/0.4804, allocations: 27.98 kB / 0.5161 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.521e-05/0.4805, allocations: 36.42 kB / 0.5161 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.119e-05/0.4806, allocations: 27.98 kB / 0.5161 GB, free: 15.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004455/0.481, allocations: 495 kB / 0.5166 GB, free: 14.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.481, allocations: 0 / 0.5166 GB, free: 14.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003056/0.4841, allocations: 1.1 MB / 0.5177 GB, free: 13.56 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.003808/0.4879, allocations: 1.356 MB / 0.519 GB, free: 12.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00159/0.4895, allocations: 0.7265 MB / 0.5197 GB, free: 11.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4895, allocations: 0 / 0.5197 GB, free: 11.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008816/0.4903, allocations: 464.1 kB / 0.5202 GB, free: 11.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/0.4921, allocations: 358 kB / 0.5205 GB, free: 10.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.4945, allocations: 1.994 MB / 0.5225 GB, free: 8.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.4948, allocations: 0.5052 MB / 0.5229 GB, free: 8.309 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006367/0.4954, allocations: 421.8 kB / 0.5233 GB, free: 7.906 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.4956, allocations: 64.48 kB / 0.5234 GB, free: 7.844 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.4956, allocations: 0 / 0.5234 GB, free: 7.844 MB / 410.7 MB Notification: Performance of Templates: time 0.07291/0.5685, allocations: 45.85 MB / 0.5682 GB, free: 10.39 MB / 458.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 240] 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.430325916968286]