Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001305/0.001305, allocations: 84.55 kB / 20.68 MB, free: 1.012 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.001426/0.001426, allocations: 167.6 kB / 23.96 MB, free: 4.125 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.408/1.408, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2048/0.2048, allocations: 32.81 MB / 293.5 MB, free: 36 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 440.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.945e-05, allocations: 5.234 kB / 440.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.2135/0.2135, allocations: 35.64 MB / 475.7 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02726/0.2408, allocations: 18.02 MB / 493.8 MB, free: 3.141 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.2418, allocations: 27.94 kB / 493.8 MB, free: 3.125 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.2431, allocations: 418 kB / 494.2 MB, free: 2.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01545/0.2586, allocations: 5.199 MB / 499.4 MB, free: 14.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008064/0.2666, allocations: 2.595 MB / 0.4902 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003021/0.2696, allocations: 2.007 MB / 0.4922 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008253/0.2705, allocations: 425.7 kB / 0.4926 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01114/0.2816, allocations: 4.398 MB / 0.4969 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01252/0.2941, allocations: 5.433 MB / 0.5022 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002305/0.2944, allocations: 68 kB / 0.5023 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01429/0.3086, allocations: 6.931 MB / 0.509 GB, free: 8.969 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004681/0.3091, allocations: 307 kB / 0.5093 GB, free: 8.668 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006119/0.3097, allocations: 315.3 kB / 0.5096 GB, free: 8.359 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01281/0.3225, allocations: 6.111 MB / 0.5156 GB, free: 2.234 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3225, allocations: 0 / 0.5156 GB, free: 2.234 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3225, allocations: 0 / 0.5156 GB, free: 2.234 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.3225, allocations: 0 / 0.5156 GB, free: 2.234 MB / 414.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.004197/0.3267, allocations: 1.581 MB / 0.5171 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.3268, allocations: 8.031 kB / 0.5171 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/0.3283, allocations: 229.7 kB / 0.5174 GB, free: 396 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009151/0.3292, allocations: 0.4979 MB / 0.5179 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/0.3293, allocations: 168.7 kB / 0.518 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.3294, allocations: 60.33 kB / 0.5181 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002146/0.3316, allocations: 1.33 MB / 0.5194 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.3316, allocations: 4 kB / 0.5194 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.58e-05/0.3317, allocations: 31.94 kB / 0.5194 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.418e-05/0.3318, allocations: 44.92 kB / 0.5194 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/0.3335, allocations: 0.8154 MB / 0.5202 GB, free: 13.22 MB / 430.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.005755/0.3393, allocations: 4.474 MB / 0.5246 GB, free: 8.586 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.3406, allocations: 0.5291 MB / 0.5251 GB, free: 8.031 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003505/0.341, allocations: 202.4 kB / 0.5253 GB, free: 7.824 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09362/0.4346, allocations: 26.11 MB / 0.5508 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.883e-05/0.4346, allocations: 42.5 kB / 0.5509 GB, free: 13.63 MB / 462.1 MB Notification: Performance of pre-optimization done (n=39): time 2.355e-06/0.4346, allocations: 4 kB / 0.5509 GB, free: 13.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.006543/0.4412, allocations: 2.062 MB / 0.5529 GB, free: 11.53 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.4413, allocations: 183.9 kB / 0.5531 GB, free: 11.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006919/0.442, allocations: 0.565 MB / 0.5536 GB, free: 10.73 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.684e-05/0.442, allocations: 29.7 kB / 0.5536 GB, free: 10.69 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003109/0.4424, allocations: 423.9 kB / 0.554 GB, free: 10.27 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.4425, allocations: 170.6 kB / 0.5542 GB, free: 10.11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.4427, allocations: 154.5 kB / 0.5543 GB, free: 9.949 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.4429, allocations: 374.8 kB / 0.5547 GB, free: 9.574 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004074/0.4433, allocations: 237.9 kB / 0.5549 GB, free: 9.344 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007519/0.4441, allocations: 0.6689 MB / 0.5556 GB, free: 8.48 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.4452, allocations: 0.8598 MB / 0.5564 GB, free: 7.457 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.4452, allocations: 4 kB / 0.5564 GB, free: 7.453 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001487/0.4467, allocations: 0.892 MB / 0.5573 GB, free: 6.551 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.4467, allocations: 8 kB / 0.5573 GB, free: 6.543 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.4468, allocations: 12 kB / 0.5573 GB, free: 6.531 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003302/0.4501, allocations: 273.3 kB / 0.5576 GB, free: 6.262 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.4513, allocations: 283.6 kB / 0.5578 GB, free: 5.984 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/0.4531, allocations: 1.989 MB / 0.5598 GB, free: 3.871 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004755/0.4536, allocations: 35.98 kB / 0.5598 GB, free: 3.836 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.946e-05/0.4536, allocations: 40 kB / 0.5599 GB, free: 3.797 MB / 462.1 MB 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.0004114/0.454, allocations: 284.4 kB / 0.5601 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.4542, allocations: 67.58 kB / 0.5602 GB, free: 3.449 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002681/0.4569, allocations: 2.109 MB / 0.5623 GB, free: 1.336 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-05/0.4569, allocations: 19.97 kB / 0.5623 GB, free: 1.316 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.4569, allocations: 4 kB / 0.5623 GB, free: 1.312 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.4569, allocations: 3.984 kB / 0.5623 GB, free: 1.309 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0036/0.4605, allocations: 2.81 MB / 0.565 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4605, allocations: 0 / 0.565 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009772/0.4615, allocations: 191.8 kB / 0.5652 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001792/0.4633, allocations: 312.3 kB / 0.5655 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.4633, allocations: 12 kB / 0.5655 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001824/0.4652, allocations: 2.057 MB / 0.5675 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4652, allocations: 0 / 0.5675 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/0.4675, allocations: 1.986 MB / 0.5695 GB, free: 9.758 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002933/0.4678, allocations: 147.2 kB / 0.5696 GB, free: 9.613 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.4679, allocations: 31.78 kB / 0.5696 GB, free: 9.582 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003839/0.4683, allocations: 8 kB / 0.5696 GB, free: 9.574 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.991e-05/0.4684, allocations: 32.53 kB / 0.5697 GB, free: 9.543 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-05/0.4684, allocations: 23.92 kB / 0.5697 GB, free: 9.52 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006989/0.4691, allocations: 0.5146 MB / 0.5702 GB, free: 9.004 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4691, allocations: 0 / 0.5702 GB, free: 9.004 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003206/0.4723, allocations: 1.104 MB / 0.5713 GB, free: 7.898 MB / 478.1 MB 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.005113/0.4775, allocations: 1.333 MB / 0.5726 GB, free: 6.551 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00227/0.4797, allocations: 0.9056 MB / 0.5735 GB, free: 5.648 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.4797, allocations: 4.062 kB / 0.5735 GB, free: 5.645 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.481, allocations: 0.6086 MB / 0.5741 GB, free: 5.035 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/0.4829, allocations: 322.4 kB / 0.5744 GB, free: 4.73 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003165/0.486, allocations: 2.072 MB / 0.5764 GB, free: 2.621 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005146/0.4866, allocations: 0.496 MB / 0.5769 GB, free: 2.098 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006674/0.4872, allocations: 337.3 kB / 0.5772 GB, free: 1.766 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.4874, allocations: 60.5 kB / 0.5773 GB, free: 1.707 MB / 478.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4874, allocations: 0 / 0.5773 GB, free: 1.707 MB / 478.1 MB Notification: Performance of Templates: time 0.0655/0.5529, allocations: 44.14 MB / 0.6204 GB, free: 5.805 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 7.655997592955828]