Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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.001644/0.001644, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.001736/0.001736, allocations: 163.2 kB / 24.5 MB, free: 3.449 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.559/1.559, allocations: 177.1 MB / 204.7 MB, free: 9.008 MB / 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.2076/0.2076, allocations: 34.26 MB / 295.4 MB, free: 14.49 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_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 84.16 kB / 443.2 MB, free: 6.492 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3085, allocations: 66.05 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.0299/0.3384, allocations: 35.88 MB / 0.5323 GB, free: 5.922 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02298/0.3614, allocations: 18.05 MB / 0.55 GB, free: 9.969 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008691/0.3623, allocations: 28.12 kB / 0.55 GB, free: 9.953 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.3635, allocations: 403.9 kB / 0.5504 GB, free: 9.75 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0145/0.378, allocations: 5.132 MB / 0.5554 GB, free: 6.188 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008374/0.3864, allocations: 2.54 MB / 0.5579 GB, free: 4.309 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002841/0.3892, allocations: 1.994 MB / 0.5598 GB, free: 3.168 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006729/0.3899, allocations: 423.8 kB / 0.5602 GB, free: 2.859 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01044/0.4003, allocations: 4.187 MB / 0.5643 GB, free: 268 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01285/0.4132, allocations: 5.497 MB / 0.5697 GB, free: 11.21 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002297/0.4134, allocations: 72 kB / 0.5697 GB, free: 11.14 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01502/0.4284, allocations: 7.047 MB / 0.5766 GB, free: 4.086 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005636/0.429, allocations: 279.2 kB / 0.5769 GB, free: 3.812 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007876/0.4298, allocations: 390.4 kB / 0.5773 GB, free: 3.43 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01189/0.4417, allocations: 5.12 MB / 0.5823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4417, allocations: 0 / 0.5823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4417, allocations: 0 / 0.5823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.4417, allocations: 0 / 0.5823 GB, free: 14.3 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.004111/0.4458, allocations: 1.662 MB / 0.5839 GB, free: 12.6 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.4459, allocations: 8.031 kB / 0.5839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002208/0.4481, allocations: 304.2 kB / 0.5842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009939/0.4491, allocations: 0.5181 MB / 0.5847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001924/0.4493, allocations: 172.7 kB / 0.5848 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.4494, allocations: 64.11 kB / 0.5849 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002871/0.4522, allocations: 1.448 MB / 0.5863 GB, free: 9.883 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.4523, allocations: 0 / 0.5863 GB, free: 9.883 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.588e-05/0.4524, allocations: 31.98 kB / 0.5864 GB, free: 9.852 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.039e-05/0.4524, allocations: 45.23 kB / 0.5864 GB, free: 9.809 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002688/0.4551, allocations: 1.023 MB / 0.5874 GB, free: 8.785 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.006152/0.4613, allocations: 4.456 MB / 0.5917 GB, free: 4.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002407/0.4637, allocations: 0.7509 MB / 0.5925 GB, free: 3.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006048/0.4643, allocations: 265.6 kB / 0.5927 GB, free: 3.145 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03323/0.4975, allocations: 8.666 MB / 0.6012 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.415e-05/0.4976, allocations: 42.56 kB / 0.6012 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 2.284e-06/0.4976, allocations: 0 / 0.6012 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49): time 0.006961/0.5045, allocations: 2.206 MB / 0.6034 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.5046, allocations: 162.7 kB / 0.6035 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006936/0.5053, allocations: 0.5415 MB / 0.6041 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.724e-05/0.5054, allocations: 33.7 kB / 0.6041 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.5057, allocations: 404.1 kB / 0.6045 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.5059, allocations: 186.5 kB / 0.6047 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002322/0.5061, allocations: 158.6 kB / 0.6048 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.5063, allocations: 378.7 kB / 0.6052 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006462/0.5069, allocations: 277.8 kB / 0.6054 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.5079, allocations: 0.6799 MB / 0.6061 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/0.5096, allocations: 0.9077 MB / 0.607 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.5096, allocations: 0 / 0.607 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001915/0.5115, allocations: 0.959 MB / 0.6079 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.5115, allocations: 8 kB / 0.6079 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.5115, allocations: 12 kB / 0.608 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000284/0.5118, allocations: 68.84 kB / 0.608 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.5131, allocations: 299.6 kB / 0.6083 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/0.515, allocations: 1.956 MB / 0.6102 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005062/0.5155, allocations: 43.97 kB / 0.6103 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.796e-05/0.5155, allocations: 40 kB / 0.6103 GB, free: 0.5703 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].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.000384/0.5159, allocations: 273.6 kB / 0.6106 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.516, allocations: 67.66 kB / 0.6106 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003505/0.5196, allocations: 2.673 MB / 0.6132 GB, free: 13.54 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-05/0.5196, allocations: 35.94 kB / 0.6133 GB, free: 13.5 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.5196, allocations: 0 / 0.6133 GB, free: 13.5 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.5196, allocations: 0 / 0.6133 GB, free: 13.5 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004858/0.5245, allocations: 3.58 MB / 0.6168 GB, free: 9.883 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.5245, allocations: 0 / 0.6168 GB, free: 9.883 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/0.5256, allocations: 227.7 kB / 0.617 GB, free: 9.66 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003756/0.526, allocations: 84.73 kB / 0.6171 GB, free: 9.574 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/0.526, allocations: 12 kB / 0.6171 GB, free: 9.562 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00175/0.5278, allocations: 1.984 MB / 0.619 GB, free: 7.453 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5278, allocations: 0 / 0.619 GB, free: 7.453 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0035/0.5313, allocations: 2.4 MB / 0.6214 GB, free: 5.035 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003716/0.5317, allocations: 174.9 kB / 0.6215 GB, free: 4.863 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.5318, allocations: 39.67 kB / 0.6216 GB, free: 4.824 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004288/0.5322, allocations: 31.97 kB / 0.6216 GB, free: 4.793 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.5323, allocations: 52.47 kB / 0.6216 GB, free: 4.742 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.484e-05/0.5324, allocations: 23.98 kB / 0.6217 GB, free: 4.719 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.0006841/0.5331, allocations: 0.5029 MB / 0.6221 GB, free: 4.215 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8e-08/0.5331, allocations: 0 / 0.6221 GB, free: 4.215 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.003315/0.5364, allocations: 1.104 MB / 0.6232 GB, free: 3.109 MB / 0.5138 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: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.003801/0.5402, allocations: 1.208 MB / 0.6244 GB, free: 1.887 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.002631/0.5428, allocations: 1.089 MB / 0.6255 GB, free: 0.8008 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5428, allocations: 0 / 0.6255 GB, free: 0.8008 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.001652/0.5445, allocations: 0.7656 MB / 0.6262 GB, free: 40 kB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/0.5462, allocations: 346 kB / 0.6265 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/0.5501, allocations: 2.525 MB / 0.629 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006069/0.5507, allocations: 0.5634 MB / 0.6296 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007717/0.5515, allocations: 429.8 kB / 0.63 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.5516, allocations: 64.5 kB / 0.63 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of SimCode: time 4.51e-07/0.5516, allocations: 0 / 0.63 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of Templates: time 0.06842/0.62, allocations: 46.09 MB / 0.675 GB, free: 14.21 MB / 0.5763 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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: 8.401550650014542]