Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.001535/0.001535, allocations: 115 kB / 18.46 MB, free: 4.621 MB / 14.72 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.001732/0.001732, allocations: 207.3 kB / 21.41 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2384/0.2384, allocations: 46.93 MB / 357.8 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 59.91 kB / 0.4921 GB, free: 7.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1264, allocations: 66 MB / 0.5565 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.3476/0.474, allocations: 39.43 MB / 0.595 GB, free: 4.285 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02272/0.4968, allocations: 20.22 MB / 0.6148 GB, free: 3.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009566/0.4977, allocations: 32.41 kB / 0.6148 GB, free: 3.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.499, allocations: 454.7 kB / 0.6152 GB, free: 3.688 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01712/0.5162, allocations: 5.147 MB / 0.6203 GB, free: 2.766 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008364/0.5245, allocations: 2.565 MB / 0.6228 GB, free: 2.141 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003266/0.5278, allocations: 1.96 MB / 0.6247 GB, free: 1.719 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007725/0.5286, allocations: 426.3 kB / 0.6251 GB, free: 1.664 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009024/0.5376, allocations: 4.181 MB / 0.6292 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01156/0.5492, allocations: 5.484 MB / 0.6345 GB, free: 12.23 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002683/0.5494, allocations: 69.78 kB / 0.6346 GB, free: 12.23 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01763/0.5671, allocations: 7.26 MB / 0.6417 GB, free: 8.477 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005826/0.5676, allocations: 277.8 kB / 0.642 GB, free: 8.285 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008776/0.5685, allocations: 440.7 kB / 0.6424 GB, free: 8.023 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01468/0.5832, allocations: 4.993 MB / 0.6472 GB, free: 4.203 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.5832, allocations: 0 / 0.6472 GB, free: 4.203 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5832, allocations: 0 / 0.6472 GB, free: 4.203 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.105e-05/0.5832, allocations: 0 / 0.6472 GB, free: 4.203 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.005422/0.5887, allocations: 1.668 MB / 0.6489 GB, free: 2.48 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.5887, allocations: 8.031 kB / 0.6489 GB, free: 2.473 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.5903, allocations: 228.3 kB / 0.6491 GB, free: 2.25 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.5915, allocations: 0.5642 MB / 0.6497 GB, free: 1.648 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/0.5917, allocations: 117.2 kB / 0.6498 GB, free: 1.523 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.5918, allocations: 56.38 kB / 0.6498 GB, free: 1.469 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/0.5941, allocations: 1.075 MB / 0.6509 GB, free: 296 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/0.5941, allocations: 11.92 kB / 0.6509 GB, free: 284 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.166e-05/0.5942, allocations: 31.98 kB / 0.6509 GB, free: 252 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.948e-05/0.5943, allocations: 43.8 kB / 0.651 GB, free: 212 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.5961, allocations: 0.8193 MB / 0.6518 GB, free: 15.39 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.006832/0.603, allocations: 5.558 MB / 0.6572 GB, free: 9.469 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.6044, allocations: 0.5115 MB / 0.6577 GB, free: 8.93 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000361/0.6047, allocations: 202.5 kB / 0.6579 GB, free: 8.723 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1116/0.7163, allocations: 52.79 MB / 0.7094 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.408e-05/0.7164, allocations: 38.56 kB / 0.7095 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=39): time 3.065e-06/0.7164, allocations: 0 / 0.7095 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44): time 0.007231/0.7236, allocations: 2.154 MB / 0.7116 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.7237, allocations: 195.7 kB / 0.7118 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008955/0.7246, allocations: 0.6408 MB / 0.7124 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.493e-05/0.7247, allocations: 33.7 kB / 0.7124 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000371/0.725, allocations: 412.2 kB / 0.7128 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.7253, allocations: 170.6 kB / 0.713 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002474/0.7255, allocations: 154.6 kB / 0.7131 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.7257, allocations: 382.8 kB / 0.7135 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004398/0.7261, allocations: 229.9 kB / 0.7137 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008452/0.727, allocations: 0.59 MB / 0.7143 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.7282, allocations: 0.8677 MB / 0.7151 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.7282, allocations: 4 kB / 0.7151 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00165/0.7299, allocations: 0.8966 MB / 0.716 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.7299, allocations: 15.94 kB / 0.716 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.7299, allocations: 16.09 kB / 0.716 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003335/0.7333, allocations: 264.5 kB / 0.7163 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.7345, allocations: 283.5 kB / 0.7166 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.7365, allocations: 2.125 MB / 0.7186 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005849/0.7371, allocations: 31.98 kB / 0.7187 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.13e-05/0.7372, allocations: 44 kB / 0.7187 GB, free: 3.137 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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 {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004466/0.7376, allocations: 271.7 kB / 0.719 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/0.7378, allocations: 75.53 kB / 0.719 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002627/0.7405, allocations: 2.007 MB / 0.721 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.803e-05/0.7405, allocations: 23.91 kB / 0.721 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.7405, allocations: 4 kB / 0.721 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.7405, allocations: 3.984 kB / 0.721 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003903/0.7444, allocations: 3.006 MB / 0.724 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.7444, allocations: 4 kB / 0.724 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009449/0.7454, allocations: 179.8 kB / 0.7241 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001826/0.7472, allocations: 303.9 kB / 0.7244 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.988e-05/0.7472, allocations: 15.98 kB / 0.7244 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/0.7492, allocations: 2.17 MB / 0.7266 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7492, allocations: 0 / 0.7266 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002545/0.7518, allocations: 1.953 MB / 0.7285 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004311/0.7522, allocations: 232.3 kB / 0.7287 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.7524, allocations: 35.72 kB / 0.7287 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004671/0.7529, allocations: 15.98 kB / 0.7287 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.907e-05/0.7529, allocations: 32.39 kB / 0.7288 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/0.753, allocations: 16 kB / 0.7288 GB, free: 8.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000856/0.7538, allocations: 0.5732 MB / 0.7293 GB, free: 7.934 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7538, allocations: 0 / 0.7293 GB, free: 7.934 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003482/0.7573, allocations: 1.104 MB / 0.7304 GB, free: 6.828 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005348/0.7627, allocations: 1.193 MB / 0.7316 GB, free: 5.621 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002261/0.7649, allocations: 0.8933 MB / 0.7325 GB, free: 4.734 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.7649, allocations: 4 kB / 0.7325 GB, free: 4.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.7662, allocations: 0.5733 MB / 0.733 GB, free: 4.156 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/0.7686, allocations: 410.5 kB / 0.7334 GB, free: 3.766 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003715/0.7723, allocations: 2.182 MB / 0.7355 GB, free: 1.551 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008094/0.7731, allocations: 1.089 MB / 0.7366 GB, free: 448 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.7733, allocations: 71.38 kB / 0.7367 GB, free: 376 kB / 0.545 GB Notification: Performance of SimCode: time 1.173e-06/0.7733, allocations: 4 kB / 0.7367 GB, free: 372 kB / 0.545 GB Notification: Performance of Templates: time 0.06107/0.8344, allocations: 37.41 MB / 0.7732 GB, free: 10.97 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.670663539000088]