Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.00174/0.00174, allocations: 115.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.002133/0.002133, allocations: 212.9 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.467/1.467, allocations: 227.4 MB / 252.3 MB, free: 88 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.2251/0.2251, allocations: 46.16 MB / 351.8 MB, free: 14.29 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.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_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.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 81.59 kB / 490.9 MB, free: 27.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1227, allocations: 62.45 MB / 0.5404 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04662/0.1694, allocations: 39.19 MB / 0.5786 GB, free: 12.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02696/0.1964, allocations: 20.16 MB / 0.5983 GB, free: 8.672 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009455/0.1974, allocations: 19.88 kB / 0.5983 GB, free: 8.652 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.1988, allocations: 445.3 kB / 0.5988 GB, free: 8.215 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01478/0.2136, allocations: 5.124 MB / 0.6038 GB, free: 3.094 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007403/0.221, allocations: 2.574 MB / 0.6063 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.2736/0.4946, allocations: 1.953 MB / 0.6082 GB, free: 7.637 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.4957, allocations: 478.2 kB / 0.6086 GB, free: 7.609 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01013/0.5058, allocations: 4.141 MB / 0.6127 GB, free: 6.695 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01231/0.5182, allocations: 5.429 MB / 0.618 GB, free: 5.262 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003417/0.5185, allocations: 66.91 kB / 0.6181 GB, free: 5.262 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01509/0.5336, allocations: 7.243 MB / 0.6251 GB, free: 5.25 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00059/0.5343, allocations: 280.9 kB / 0.6254 GB, free: 5.246 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008493/0.5351, allocations: 442.9 kB / 0.6258 GB, free: 5.246 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01187/0.547, allocations: 4.989 MB / 0.6307 GB, free: 4.965 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.547, allocations: 0 / 0.6307 GB, free: 4.965 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.5471, allocations: 0 / 0.6307 GB, free: 4.965 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.211e-05/0.5471, allocations: 0 / 0.6307 GB, free: 4.965 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.00494/0.552, allocations: 1.677 MB / 0.6323 GB, free: 20.07 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.5521, allocations: 9.625 kB / 0.6323 GB, free: 20.07 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001484/0.5536, allocations: 225.3 kB / 0.6326 GB, free: 20.02 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008212/0.5544, allocations: 0.5793 MB / 0.6331 GB, free: 19.74 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.128e-05/0.5545, allocations: 109.3 kB / 0.6332 GB, free: 19.68 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.801e-05/0.5546, allocations: 57.19 kB / 0.6333 GB, free: 19.68 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.5563, allocations: 1.074 MB / 0.6343 GB, free: 19.37 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.5563, allocations: 6.031 kB / 0.6343 GB, free: 19.37 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.407e-05/0.5564, allocations: 29.98 kB / 0.6344 GB, free: 19.37 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-05/0.5565, allocations: 49.5 kB / 0.6344 GB, free: 19.36 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.5579, allocations: 0.8232 MB / 0.6352 GB, free: 19.36 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.005538/0.5635, allocations: 5.557 MB / 0.6406 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.5646, allocations: 0.5356 MB / 0.6412 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/0.5649, allocations: 212.7 kB / 0.6414 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1066/0.6715, allocations: 52.79 MB / 0.6929 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.6716, allocations: 45.22 kB / 0.693 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=39): time 2.294e-06/0.6716, allocations: 0 / 0.693 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.00671/0.6783, allocations: 2.155 MB / 0.6951 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.6785, allocations: 191.9 kB / 0.6952 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008304/0.6793, allocations: 0.6394 MB / 0.6959 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.758e-05/0.6794, allocations: 37.2 kB / 0.6959 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003087/0.6797, allocations: 407.8 kB / 0.6963 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.6798, allocations: 166 kB / 0.6965 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.6801, allocations: 154.5 kB / 0.6966 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002148/0.6803, allocations: 384.9 kB / 0.697 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003917/0.6807, allocations: 228.1 kB / 0.6972 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007387/0.6814, allocations: 0.5963 MB / 0.6978 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.6827, allocations: 0.867 MB / 0.6986 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.6827, allocations: 4 kB / 0.6986 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001583/0.6843, allocations: 0.8968 MB / 0.6995 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.6843, allocations: 8 kB / 0.6995 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.6843, allocations: 12 kB / 0.6995 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003157/0.6875, allocations: 272.3 kB / 0.6998 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.6887, allocations: 289 kB / 0.7001 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002102/0.6908, allocations: 2.123 MB / 0.7021 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006859/0.6915, allocations: 31.98 kB / 0.7022 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-05/0.6916, allocations: 40 kB / 0.7022 GB, free: 2.688 MB / 0.5137 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.0004709/0.6921, allocations: 273.9 kB / 0.7025 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/0.6923, allocations: 75.53 kB / 0.7025 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002633/0.6949, allocations: 2.018 MB / 0.7045 GB, free: 340 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-05/0.695, allocations: 23.91 kB / 0.7045 GB, free: 316 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.695, allocations: 3.984 kB / 0.7045 GB, free: 312 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.695, allocations: 0 / 0.7045 GB, free: 312 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003878/0.6989, allocations: 3.004 MB / 0.7075 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.6989, allocations: 0 / 0.7075 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009309/0.6999, allocations: 187 kB / 0.7076 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001731/0.7016, allocations: 303 kB / 0.7079 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-05/0.7017, allocations: 9.375 kB / 0.7079 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/0.7037, allocations: 2.179 MB / 0.7101 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.7038, allocations: 5.688 kB / 0.7101 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00259/0.7064, allocations: 1.938 MB / 0.712 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004821/0.7069, allocations: 236.2 kB / 0.7122 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.707, allocations: 35.89 kB / 0.7122 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004185/0.7074, allocations: 12 kB / 0.7122 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.33e-05/0.7075, allocations: 35.39 kB / 0.7123 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.191e-05/0.7076, allocations: 19.98 kB / 0.7123 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008183/0.7084, allocations: 0.5732 MB / 0.7128 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7084, allocations: 0 / 0.7128 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004148/0.7126, allocations: 1.104 MB / 0.7139 GB, free: 6.453 MB / 0.5294 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.006681/0.7193, allocations: 1.208 MB / 0.7151 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002306/0.7216, allocations: 0.9184 MB / 0.716 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.7217, allocations: 0 / 0.716 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001299/0.723, allocations: 0.6312 MB / 0.7166 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/0.7253, allocations: 409.5 kB / 0.717 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003586/0.7289, allocations: 2.202 MB / 0.7192 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007967/0.7298, allocations: 1.085 MB / 0.7202 GB, free: 136 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/0.73, allocations: 67.42 kB / 0.7203 GB, free: 72 kB / 0.5294 GB Notification: Performance of SimCode: time 9.02e-07/0.73, allocations: 7.938 kB / 0.7203 GB, free: 64 kB / 0.5294 GB Notification: Performance of Templates: time 0.05861/0.7886, allocations: 37.38 MB / 0.7568 GB, free: 10.78 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p [Calling sys.exit(0), Time elapsed: 12.829269414069131]