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.001414/0.001414, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001629/0.001629, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.343/1.343, allocations: 230.5 MB / 258.1 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 179] 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.2093/0.2093, allocations: 46.93 MB / 361.5 MB, free: 4.168 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.002253/0.002253, allocations: 75.88 kB / 0.4974 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2811, allocations: 66.07 MB / 0.562 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.04327/0.3244, allocations: 39.77 MB / 0.6008 GB, free: 12.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02537/0.3497, allocations: 20.32 MB / 0.6207 GB, free: 7.91 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007646/0.3505, allocations: 27.75 kB / 0.6207 GB, free: 7.883 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.3518, allocations: 465.2 kB / 0.6211 GB, free: 7.426 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0127/0.3645, allocations: 5.145 MB / 0.6261 GB, free: 2.277 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006387/0.3709, allocations: 2.596 MB / 0.6287 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002688/0.3735, allocations: 2.02 MB / 0.6307 GB, free: 13.66 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007928/0.3743, allocations: 433.7 kB / 0.6311 GB, free: 13.22 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008668/0.383, allocations: 4.195 MB / 0.6352 GB, free: 8.969 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01077/0.3938, allocations: 5.51 MB / 0.6405 GB, free: 3.375 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002343/0.394, allocations: 72 kB / 0.6406 GB, free: 3.305 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01982/0.4138, allocations: 7.426 MB / 0.6479 GB, free: 11.87 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005866/0.4144, allocations: 295.1 kB / 0.6481 GB, free: 11.58 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008914/0.4153, allocations: 457.9 kB / 0.6486 GB, free: 11.13 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01202/0.4273, allocations: 5.136 MB / 0.6536 GB, free: 5.984 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4273, allocations: 0 / 0.6536 GB, free: 5.984 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4273, allocations: 0 / 0.6536 GB, free: 5.984 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.634e-05/0.4274, allocations: 0 / 0.6536 GB, free: 5.984 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.005437/0.4328, allocations: 1.635 MB / 0.6552 GB, free: 4.312 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.4328, allocations: 11.97 kB / 0.6552 GB, free: 4.301 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003378/0.4362, allocations: 304.2 kB / 0.6555 GB, free: 4.004 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.4376, allocations: 0.522 MB / 0.656 GB, free: 3.453 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.4378, allocations: 156.7 kB / 0.6562 GB, free: 3.273 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.4379, allocations: 68.11 kB / 0.6562 GB, free: 3.207 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003422/0.4414, allocations: 1.158 MB / 0.6574 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/0.4414, allocations: 7.938 kB / 0.6574 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.4415, allocations: 31.92 kB / 0.6574 GB, free: 1.914 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.703e-05/0.4416, allocations: 41.3 kB / 0.6574 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002496/0.4441, allocations: 0.8518 MB / 0.6583 GB, free: 1.023 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.008215/0.4523, allocations: 5.367 MB / 0.6635 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.4536, allocations: 0.572 MB / 0.6641 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/0.4539, allocations: 217.6 kB / 0.6643 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1052/0.5591, allocations: 25.93 MB / 0.6896 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.935e-05/0.5592, allocations: 38.56 kB / 0.6896 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 2.165e-06/0.5592, allocations: 0 / 0.6896 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of matching and sorting (n=46): time 0.005265/0.5645, allocations: 1.867 MB / 0.6915 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.5646, allocations: 170.1 kB / 0.6916 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008207/0.5654, allocations: 0.6211 MB / 0.6922 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.165e-05/0.5654, allocations: 29.7 kB / 0.6922 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.5658, allocations: 408.2 kB / 0.6926 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.5659, allocations: 182.5 kB / 0.6928 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.5661, allocations: 162.6 kB / 0.693 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.5663, allocations: 374.8 kB / 0.6933 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003925/0.5667, allocations: 229.9 kB / 0.6935 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000668/0.5674, allocations: 0.5601 MB / 0.6941 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.5685, allocations: 0.8485 MB / 0.6949 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.647e-06/0.5685, allocations: 4 kB / 0.6949 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001465/0.5699, allocations: 0.8714 MB / 0.6958 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.57, allocations: 12 kB / 0.6958 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.57, allocations: 12 kB / 0.6958 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003039/0.5703, allocations: 52.83 kB / 0.6958 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.5715, allocations: 288 kB / 0.6961 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/0.5732, allocations: 1.971 MB / 0.698 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004818/0.5737, allocations: 35.92 kB / 0.6981 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.786e-05/0.5737, allocations: 40 kB / 0.6981 GB, free: 7.219 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.0005255/0.5743, allocations: 269.7 kB / 0.6984 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.5744, allocations: 75.53 kB / 0.6984 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002682/0.5771, allocations: 2.291 MB / 0.7007 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.622e-05/0.5771, allocations: 31.95 kB / 0.7007 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5771, allocations: 3.938 kB / 0.7007 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.5772, allocations: 8.016 kB / 0.7007 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003951/0.5811, allocations: 3.369 MB / 0.704 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.5811, allocations: 3.938 kB / 0.704 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009008/0.582, allocations: 183.8 kB / 0.7042 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003363/0.5824, allocations: 92.67 kB / 0.7043 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.701e-05/0.5824, allocations: 12 kB / 0.7043 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/0.5841, allocations: 1.998 MB / 0.7062 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.5841, allocations: 4.219 kB / 0.7063 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002516/0.5867, allocations: 2.038 MB / 0.7082 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003885/0.587, allocations: 174.9 kB / 0.7084 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.5872, allocations: 31.81 kB / 0.7084 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005222/0.5877, allocations: 27.97 kB / 0.7085 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.962e-05/0.5878, allocations: 40.42 kB / 0.7085 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-05/0.5878, allocations: 23.98 kB / 0.7085 GB, free: 12.31 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006878/0.5885, allocations: 0.5068 MB / 0.709 GB, free: 11.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.5885, allocations: 0 / 0.709 GB, free: 11.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003218/0.5917, allocations: 1.1 MB / 0.7101 GB, free: 10.7 MB / 0.545 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.004593/0.5963, allocations: 1.213 MB / 0.7113 GB, free: 9.484 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001975/0.5983, allocations: 0.916 MB / 0.7122 GB, free: 8.574 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5983, allocations: 0 / 0.7122 GB, free: 8.574 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.5995, allocations: 0.6169 MB / 0.7128 GB, free: 7.953 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/0.6017, allocations: 383.9 kB / 0.7131 GB, free: 7.586 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003965/0.6057, allocations: 2.34 MB / 0.7154 GB, free: 5.199 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008676/0.6065, allocations: 1.113 MB / 0.7165 GB, free: 4.059 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.6067, allocations: 63.44 kB / 0.7166 GB, free: 3.996 MB / 0.545 GB Notification: Performance of SimCode: time 1.142e-06/0.6067, allocations: 0 / 0.7166 GB, free: 3.996 MB / 0.545 GB Notification: Performance of Templates: time 0.2608/0.8675, allocations: 38.08 MB / 0.7538 GB, free: 151.2 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: 11.155631964094937]