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.001383/0.001383, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001484/0.001484, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.462/1.462, allocations: 230.5 MB / 258.1 MB, free: 7.789 MB / 206.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.2443/0.2443, allocations: 46.95 MB / 361.6 MB, free: 3.93 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.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 0.002447/0.002447, allocations: 79.86 kB / 0.4974 GB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3431, allocations: 66.09 MB / 0.5619 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.04726/0.3904, allocations: 35.87 MB / 0.597 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02968/0.4201, allocations: 18.04 MB / 0.6146 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.4214, allocations: 27.75 kB / 0.6146 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002093/0.4234, allocations: 413.5 kB / 0.615 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02024/0.4437, allocations: 5.129 MB / 0.62 GB, free: 8.324 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00725/0.4509, allocations: 2.537 MB / 0.6225 GB, free: 5.789 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003304/0.4542, allocations: 2.012 MB / 0.6244 GB, free: 3.77 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009328/0.4552, allocations: 429.7 kB / 0.6249 GB, free: 3.336 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009604/0.4648, allocations: 4.192 MB / 0.6289 GB, free: 15.09 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01128/0.4761, allocations: 5.467 MB / 0.6343 GB, free: 9.539 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000286/0.4763, allocations: 72 kB / 0.6344 GB, free: 9.469 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0155/0.4918, allocations: 7.048 MB / 0.6412 GB, free: 2.414 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006542/0.4925, allocations: 287.1 kB / 0.6415 GB, free: 2.133 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000744/0.4932, allocations: 386.4 kB / 0.6419 GB, free: 1.754 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01286/0.5061, allocations: 5.132 MB / 0.6469 GB, free: 12.61 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.5061, allocations: 0 / 0.6469 GB, free: 12.61 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5061, allocations: 8 kB / 0.6469 GB, free: 12.6 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.331e-05/0.5061, allocations: 0 / 0.6469 GB, free: 12.6 MB / 494.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.005259/0.5114, allocations: 1.623 MB / 0.6485 GB, free: 10.94 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.5114, allocations: 12.03 kB / 0.6485 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002299/0.5137, allocations: 304.2 kB / 0.6488 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.515, allocations: 0.522 MB / 0.6493 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.5152, allocations: 160.7 kB / 0.6495 GB, free: 9.898 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.5153, allocations: 72.11 kB / 0.6495 GB, free: 9.828 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002832/0.5181, allocations: 1.48 MB / 0.651 GB, free: 8.172 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.5182, allocations: 4 kB / 0.651 GB, free: 8.168 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.64e-05/0.5183, allocations: 31.98 kB / 0.651 GB, free: 8.137 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.495e-05/0.5183, allocations: 45.23 kB / 0.651 GB, free: 8.094 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/0.5201, allocations: 0.8401 MB / 0.6519 GB, free: 7.254 MB / 494.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.006421/0.5266, allocations: 4.342 MB / 0.6561 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.528, allocations: 0.5745 MB / 0.6567 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003804/0.5283, allocations: 217.6 kB / 0.6569 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09671/0.6251, allocations: 26.04 MB / 0.6823 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.778e-05/0.6251, allocations: 42.55 kB / 0.6823 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 2.345e-06/0.6251, allocations: 3.938 kB / 0.6823 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of matching and sorting (n=46): time 0.00539/0.6305, allocations: 1.855 MB / 0.6842 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.6306, allocations: 162.2 kB / 0.6843 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007337/0.6314, allocations: 0.5572 MB / 0.6849 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.174e-05/0.6314, allocations: 33.7 kB / 0.6849 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003563/0.6318, allocations: 416 kB / 0.6853 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.6319, allocations: 182.4 kB / 0.6855 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/0.6322, allocations: 158.5 kB / 0.6856 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000204/0.6324, allocations: 370.8 kB / 0.686 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/0.6328, allocations: 225.9 kB / 0.6862 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007994/0.6336, allocations: 0.6471 MB / 0.6868 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.6348, allocations: 0.8446 MB / 0.6876 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.6348, allocations: 4 kB / 0.6876 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001534/0.6363, allocations: 0.8602 MB / 0.6885 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.6363, allocations: 15.92 kB / 0.6885 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.6364, allocations: 12 kB / 0.6885 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002956/0.6366, allocations: 60.86 kB / 0.6886 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.6379, allocations: 275.6 kB / 0.6888 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/0.6398, allocations: 1.952 MB / 0.6907 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/0.6403, allocations: 31.94 kB / 0.6908 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-05/0.6404, allocations: 36 kB / 0.6908 GB, free: 14.58 MB / 0.5294 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.0004357/0.6408, allocations: 273.4 kB / 0.6911 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.6409, allocations: 67.58 kB / 0.6911 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002843/0.6438, allocations: 2.306 MB / 0.6934 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.087e-05/0.6438, allocations: 27.95 kB / 0.6934 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.6438, allocations: 0 / 0.6934 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.6438, allocations: 0 / 0.6934 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003986/0.6478, allocations: 3.101 MB / 0.6964 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.6478, allocations: 0 / 0.6964 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009504/0.6488, allocations: 191.8 kB / 0.6966 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003445/0.6491, allocations: 84.78 kB / 0.6967 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-05/0.6491, allocations: 19.97 kB / 0.6967 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/0.6509, allocations: 1.979 MB / 0.6986 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6509, allocations: 0 / 0.6986 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002586/0.6535, allocations: 2.034 MB / 0.7006 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003823/0.6539, allocations: 163 kB / 0.7008 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.705e-05/0.654, allocations: 27.84 kB / 0.7008 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004594/0.6544, allocations: 31.97 kB / 0.7008 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.465e-05/0.6545, allocations: 44.48 kB / 0.7009 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-05/0.6546, allocations: 23.98 kB / 0.7009 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006345/0.6552, allocations: 463 kB / 0.7014 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.6552, allocations: 0 / 0.7014 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003204/0.6584, allocations: 1.096 MB / 0.7024 GB, free: 2.461 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.004192/0.6626, allocations: 1.218 MB / 0.7036 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002035/0.6646, allocations: 0.92 MB / 0.7045 GB, free: 332 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.024e-06/0.6646, allocations: 4 kB / 0.7045 GB, free: 328 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001291/0.6659, allocations: 0.6014 MB / 0.7051 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/0.6678, allocations: 342 kB / 0.7054 GB, free: 15.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/0.6715, allocations: 2.32 MB / 0.7077 GB, free: 13.03 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005865/0.6721, allocations: 0.5131 MB / 0.7082 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.6723, allocations: 67.42 kB / 0.7083 GB, free: 12.42 MB / 0.545 GB Notification: Performance of SimCode: time 8.92e-07/0.6723, allocations: 3.938 kB / 0.7083 GB, free: 12.42 MB / 0.545 GB Notification: Performance of Templates: time 0.2932/0.9655, allocations: 37.79 MB / 0.7452 GB, free: 163.4 MB / 0.5606 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins1/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: 12.486778716091067]