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.001611/0.001611, allocations: 116.9 kB / 19.13 MB, free: 3.922 MB / 14.72 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.001984/0.001984, allocations: 214.5 kB / 22.08 MB, free: 0.9727 MB / 14.72 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.477/1.477, allocations: 227.4 MB / 252.3 MB, free: 76 kB / 190.1 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.2287/0.2287, allocations: 46.16 MB / 351.8 MB, free: 14.27 MB / 286.1 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.h|volume.medium.p",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.h|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 77.14 kB / 490.9 MB, free: 27.89 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1394, allocations: 62.46 MB / 0.5404 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.04814/0.1876, allocations: 39.18 MB / 0.5786 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02775/0.2153, allocations: 20.18 MB / 0.5983 GB, free: 8.656 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009582/0.2163, allocations: 19.88 kB / 0.5984 GB, free: 8.637 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.2178, allocations: 449.3 kB / 0.5988 GB, free: 8.195 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01538/0.2332, allocations: 5.128 MB / 0.6038 GB, free: 3.07 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007636/0.2409, allocations: 2.562 MB / 0.6063 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.2802/0.5211, allocations: 1.99 MB / 0.6082 GB, free: 7.695 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.5223, allocations: 494.7 kB / 0.6087 GB, free: 7.668 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01051/0.5328, allocations: 4.163 MB / 0.6128 GB, free: 6.754 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01336/0.5462, allocations: 5.437 MB / 0.6181 GB, free: 5.324 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003607/0.5466, allocations: 76.03 kB / 0.6182 GB, free: 5.32 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01641/0.563, allocations: 7.387 MB / 0.6254 GB, free: 5.309 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006998/0.5638, allocations: 284.5 kB / 0.6256 GB, free: 5.305 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009819/0.5648, allocations: 463.8 kB / 0.6261 GB, free: 5.301 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01482/0.5796, allocations: 5.134 MB / 0.6311 GB, free: 5.016 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.5796, allocations: 0 / 0.6311 GB, free: 5.016 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.5796, allocations: 1.344 kB / 0.6311 GB, free: 5.016 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.106e-05/0.5797, allocations: 0 / 0.6311 GB, free: 5.016 MB / 462.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.005603/0.5853, allocations: 1.71 MB / 0.6328 GB, free: 20.1 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.5854, allocations: 9.406 kB / 0.6328 GB, free: 20.1 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002218/0.5876, allocations: 310.9 kB / 0.6331 GB, free: 20.05 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009453/0.5885, allocations: 0.5903 MB / 0.6336 GB, free: 19.77 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.5887, allocations: 105.6 kB / 0.6337 GB, free: 19.71 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.244e-05/0.5888, allocations: 71.77 kB / 0.6338 GB, free: 19.71 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/0.5909, allocations: 1.159 MB / 0.6349 GB, free: 19.42 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.591, allocations: 9.234 kB / 0.635 GB, free: 19.42 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.003e-05/0.5911, allocations: 33.92 kB / 0.635 GB, free: 19.42 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.584e-05/0.5911, allocations: 42.25 kB / 0.635 GB, free: 19.42 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.5926, allocations: 0.848 MB / 0.6359 GB, free: 19.41 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.006082/0.5987, allocations: 5.498 MB / 0.6412 GB, free: 15.56 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.5999, allocations: 0.574 MB / 0.6418 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/0.6002, allocations: 234.8 kB / 0.642 GB, free: 15.37 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1056/0.7058, allocations: 51.53 MB / 0.6923 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.915e-05/0.7059, allocations: 45.55 kB / 0.6924 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 2.184e-06/0.7059, allocations: 0 / 0.6924 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=46): time 0.005582/0.7115, allocations: 1.94 MB / 0.6943 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.7117, allocations: 162.2 kB / 0.6944 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008027/0.7125, allocations: 0.6235 MB / 0.695 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.726e-05/0.7126, allocations: 33.27 kB / 0.6951 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002951/0.7129, allocations: 404.1 kB / 0.6955 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.713, allocations: 182.8 kB / 0.6956 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/0.7132, allocations: 154.8 kB / 0.6958 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002093/0.7135, allocations: 378.8 kB / 0.6961 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/0.7139, allocations: 229.9 kB / 0.6964 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007386/0.7146, allocations: 0.5653 MB / 0.6969 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.7158, allocations: 0.8357 MB / 0.6977 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.7158, allocations: 8 kB / 0.6977 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001565/0.7174, allocations: 0.8743 MB / 0.6986 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.7175, allocations: 12 kB / 0.6986 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.7175, allocations: 12 kB / 0.6986 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003057/0.7178, allocations: 60.64 kB / 0.6987 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.719, allocations: 285.7 kB / 0.6989 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/0.721, allocations: 2.077 MB / 0.701 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006335/0.7216, allocations: 31.92 kB / 0.701 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.739e-05/0.7217, allocations: 40 kB / 0.701 GB, free: 4.277 MB / 0.5137 GB 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.0004794/0.7222, allocations: 276.4 kB / 0.7013 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.7224, allocations: 79.47 kB / 0.7014 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0028/0.7252, allocations: 2.206 MB / 0.7035 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.505e-05/0.7252, allocations: 27.95 kB / 0.7036 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.7253, allocations: 3.938 kB / 0.7036 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.7253, allocations: 3.656 kB / 0.7036 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004278/0.7296, allocations: 3.287 MB / 0.7068 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.7296, allocations: 3.938 kB / 0.7068 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009618/0.7306, allocations: 194.2 kB / 0.707 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003577/0.7309, allocations: 88.73 kB / 0.707 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.384e-05/0.731, allocations: 12 kB / 0.7071 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/0.7329, allocations: 2.086 MB / 0.7091 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.7329, allocations: 3.984 kB / 0.7091 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/0.7355, allocations: 1.993 MB / 0.711 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004631/0.736, allocations: 256 kB / 0.7113 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.895e-05/0.7361, allocations: 19.89 kB / 0.7113 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004992/0.7366, allocations: 31.97 kB / 0.7113 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.895e-05/0.7367, allocations: 35.39 kB / 0.7114 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-05/0.7367, allocations: 23.98 kB / 0.7114 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007481/0.7375, allocations: 0.5186 MB / 0.7119 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7375, allocations: 0 / 0.7119 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004526/0.742, allocations: 1.096 MB / 0.713 GB, free: 7.824 MB / 0.5294 GB 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.006242/0.7483, allocations: 1.22 MB / 0.7142 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002203/0.7505, allocations: 0.9411 MB / 0.7151 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.7506, allocations: 0 / 0.7151 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.7518, allocations: 0.6615 MB / 0.7157 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/0.754, allocations: 392.2 kB / 0.7161 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003641/0.7577, allocations: 2.308 MB / 0.7184 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008173/0.7585, allocations: 1.109 MB / 0.7194 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.7588, allocations: 71.42 kB / 0.7195 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of SimCode: time 9.62e-07/0.7588, allocations: 0 / 0.7195 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of Templates: time 0.05577/0.8145, allocations: 38.08 MB / 0.7567 GB, free: 11.29 MB / 0.5762 GB " [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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" Variables in the reference:time,volume.medium.h,volume.medium.p Variables in the result:time,volume.medium.h,volume.medium.p [Calling sys.exit(0), Time elapsed: 12.637299326015636]