Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 88.33 kB / 21.73 MB, free: 2.688 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002176/0.002176, allocations: 158.4 kB / 25.02 MB, free: 8.961 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 158.6 MB / 186.8 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 250.4 MB, free: 7.785 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.209e-05/3.38e-05, allocations: 6.109 kB / 250.4 MB, free: 7.781 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.04115/0.04118, allocations: 29.64 MB / 280.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02122/0.0624, allocations: 13.99 MB / 294.1 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003572/0.06276, allocations: 11.94 kB / 294.1 MB, free: 11.97 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008767/0.06363, allocations: 242.4 kB / 294.3 MB, free: 11.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008208/0.06445, allocations: 373.5 kB / 294.7 MB, free: 11.37 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01663/0.08108, allocations: 5.79 MB / 300.5 MB, free: 5.555 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001497/0.08258, allocations: 1.016 MB / 301.5 MB, free: 4.535 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.08279, allocations: 77.22 kB / 301.5 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005463/0.08825, allocations: 2.341 MB / 303.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004769/0.08873, allocations: 271.2 kB / 304.2 MB, free: 1.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.552e-05/0.0888, allocations: 40 kB / 304.2 MB, free: 1.781 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01253/0.1013, allocations: 5.845 MB / 310 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002341/0.1016, allocations: 119.6 kB / 310.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004246/0.102, allocations: 179.7 kB / 310.3 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009712/0.1117, allocations: 4.775 MB / 315.1 MB, free: 6.855 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1117, allocations: 7.938 kB / 315.1 MB, free: 6.848 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1117, allocations: 0 / 315.1 MB, free: 6.848 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1117, allocations: 0 / 315.1 MB, free: 6.848 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002487/0.1142, allocations: 0.9356 MB / 316 MB, free: 5.879 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1143, allocations: 11.98 kB / 316.1 MB, free: 5.867 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/0.1157, allocations: 231.8 kB / 316.3 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000588/0.1163, allocations: 273.1 kB / 316.6 MB, free: 5.348 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/0.1164, allocations: 21.03 kB / 316.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.301e-05/0.1164, allocations: 36.38 kB / 316.6 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.1181, allocations: 0.7417 MB / 317.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.1181, allocations: 12.11 kB / 317.4 MB, free: 4.445 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-05/0.1181, allocations: 23.94 kB / 317.4 MB, free: 4.422 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.1182, allocations: 8 kB / 317.4 MB, free: 4.414 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007302/0.1189, allocations: 318.3 kB / 317.7 MB, free: 4.105 MB / 298.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.003201/0.1221, allocations: 1.685 MB / 319.4 MB, free: 2.352 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006432/0.1227, allocations: 262.8 kB / 319.6 MB, free: 2.086 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.1229, allocations: 108.8 kB / 319.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0636/0.1865, allocations: 16.83 MB / 336.6 MB, free: 1.129 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.865e-05/0.1866, allocations: 34.56 kB / 336.6 MB, free: 1.086 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 2.295e-06/0.1866, allocations: 0 / 336.6 MB, free: 1.086 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.003742/0.1903, allocations: 1.085 MB / 337.7 MB, free: 15.96 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.1904, allocations: 55.41 kB / 337.8 MB, free: 15.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003405/0.1907, allocations: 230.9 kB / 338 MB, free: 15.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.858e-05/0.1908, allocations: 33.7 kB / 338 MB, free: 15.62 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.191, allocations: 196.3 kB / 338.2 MB, free: 15.42 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.1911, allocations: 119 kB / 338.3 MB, free: 15.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.1913, allocations: 74.16 kB / 338.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.1915, allocations: 334.8 kB / 338.7 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.1917, allocations: 96.95 kB / 338.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/0.192, allocations: 211.5 kB / 339 MB, free: 14.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005591/0.1926, allocations: 350.3 kB / 339.4 MB, free: 14.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1926, allocations: 0 / 339.4 MB, free: 14.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008506/0.1934, allocations: 427.2 kB / 339.8 MB, free: 13.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.1935, allocations: 12.06 kB / 339.8 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.1935, allocations: 4 kB / 339.8 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003277/0.1938, allocations: 57.69 kB / 339.9 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004008/0.1942, allocations: 91.83 kB / 339.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002635/0.1968, allocations: 2.395 MB / 342.3 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.197, allocations: 19.98 kB / 342.4 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.684e-05/0.1971, allocations: 23.98 kB / 342.4 MB, free: 10.95 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002789/0.1974, allocations: 165.6 kB / 342.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.1975, allocations: 35.86 kB / 342.6 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.1988, allocations: 0.8986 MB / 343.5 MB, free: 9.832 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.1988, allocations: 4 kB / 343.5 MB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.1988, allocations: 4.156 kB / 343.5 MB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001262/0.2001, allocations: 1.077 MB / 344.6 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.2021, allocations: 1.347 MB / 345.9 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.2022, allocations: 0 / 345.9 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.2024, allocations: 55.97 kB / 346 MB, free: 7.219 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003713/0.2028, allocations: 72.69 kB / 346 MB, free: 7.145 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.2028, allocations: 11.98 kB / 346 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005393/0.2033, allocations: 0.5992 MB / 346.6 MB, free: 6.508 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2033, allocations: 0 / 346.6 MB, free: 6.508 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.2046, allocations: 0.8516 MB / 347.5 MB, free: 5.633 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.882e-05/0.2047, allocations: 43.59 kB / 347.5 MB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.746e-05/0.2047, allocations: 8 kB / 347.5 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/0.2051, allocations: 19.98 kB / 347.6 MB, free: 5.562 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.2051, allocations: 23.95 kB / 347.6 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.37e-05/0.2051, allocations: 11.98 kB / 347.6 MB, free: 5.527 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002798/0.2054, allocations: 213.4 kB / 347.8 MB, free: 5.316 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2054, allocations: 0 / 347.8 MB, free: 5.316 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002962/0.2084, allocations: 0.8657 MB / 348.7 MB, free: 4.449 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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.004387/0.2128, allocations: 1.095 MB / 349.8 MB, free: 3.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.214, allocations: 474.8 kB / 350.2 MB, free: 2.863 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.214, allocations: 0 / 350.2 MB, free: 2.863 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004453/0.2144, allocations: 240.7 kB / 350.5 MB, free: 2.629 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.2154, allocations: 177.5 kB / 350.6 MB, free: 2.457 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.2173, allocations: 0.9308 MB / 351.6 MB, free: 1.496 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.2175, allocations: 221.1 kB / 351.8 MB, free: 1.266 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003994/0.2179, allocations: 170.7 kB / 352 MB, free: 1.102 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.818e-05/0.218, allocations: 36.5 kB / 352 MB, free: 1.066 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.218, allocations: 0 / 352 MB, free: 1.066 MB / 330.7 MB Notification: Performance of Templates: time 0.144/0.362, allocations: 34.43 MB / 386.4 MB, free: 79.59 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.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: 7.094157109968364]