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.001712/0.001712, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001995/0.001995, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.447/1.447, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.2259/0.2259, allocations: 46.97 MB / 361.6 MB, free: 4.047 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.002119/0.002119, allocations: 67.91 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3175, allocations: 66.04 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04415/0.3616, allocations: 35.87 MB / 0.5969 GB, free: 196 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0261/0.3877, allocations: 18.05 MB / 0.6145 GB, free: 14.08 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009726/0.3887, allocations: 31.75 kB / 0.6145 GB, free: 14.05 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.3901, allocations: 409.4 kB / 0.6149 GB, free: 13.64 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0143/0.4044, allocations: 5.13 MB / 0.6199 GB, free: 8.516 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007404/0.4118, allocations: 2.532 MB / 0.6224 GB, free: 5.984 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003022/0.4148, allocations: 1.981 MB / 0.6243 GB, free: 3.996 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007593/0.4155, allocations: 405.8 kB / 0.6247 GB, free: 3.586 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009559/0.4251, allocations: 4.168 MB / 0.6288 GB, free: 15.36 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01132/0.4364, allocations: 5.463 MB / 0.6341 GB, free: 9.816 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002625/0.4367, allocations: 68 kB / 0.6342 GB, free: 9.75 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01437/0.4511, allocations: 6.915 MB / 0.6409 GB, free: 2.828 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006196/0.4517, allocations: 279.1 kB / 0.6412 GB, free: 2.555 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006553/0.4523, allocations: 374.4 kB / 0.6416 GB, free: 2.188 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01182/0.4641, allocations: 4.968 MB / 0.6464 GB, free: 13.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4642, allocations: 4 kB / 0.6464 GB, free: 13.2 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.947e-06/0.4642, allocations: 4 kB / 0.6464 GB, free: 13.2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.4642, allocations: 3.938 kB / 0.6464 GB, free: 13.2 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.004582/0.4688, allocations: 1.612 MB / 0.648 GB, free: 11.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.4688, allocations: 8.031 kB / 0.648 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/0.4703, allocations: 220.3 kB / 0.6482 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.4714, allocations: 0.4909 MB / 0.6487 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/0.4715, allocations: 168.7 kB / 0.6489 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.4717, allocations: 60.12 kB / 0.6489 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002243/0.4739, allocations: 1.322 MB / 0.6502 GB, free: 9.066 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.4739, allocations: 11.92 kB / 0.6502 GB, free: 9.055 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.039e-05/0.474, allocations: 28 kB / 0.6502 GB, free: 9.027 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.257e-05/0.4741, allocations: 48.92 kB / 0.6503 GB, free: 8.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/0.4758, allocations: 0.8154 MB / 0.6511 GB, free: 8.164 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.006227/0.4821, allocations: 4.501 MB / 0.6555 GB, free: 3.504 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.4834, allocations: 0.5014 MB / 0.656 GB, free: 2.977 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003399/0.4837, allocations: 210.8 kB / 0.6562 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09381/0.5775, allocations: 26.12 MB / 0.6817 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.391e-05/0.5776, allocations: 42.31 kB / 0.6817 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=39): time 2.685e-06/0.5776, allocations: 0 / 0.6817 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.006477/0.584, allocations: 2.077 MB / 0.6837 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.5842, allocations: 183.9 kB / 0.6839 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007795/0.585, allocations: 0.5533 MB / 0.6845 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.901e-05/0.585, allocations: 41.69 kB / 0.6845 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000343/0.5853, allocations: 423.8 kB / 0.6849 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.5855, allocations: 170.6 kB / 0.6851 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.5857, allocations: 158.6 kB / 0.6852 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002173/0.586, allocations: 366.8 kB / 0.6856 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004094/0.5864, allocations: 229.9 kB / 0.6858 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008028/0.5872, allocations: 0.6689 MB / 0.6864 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.5884, allocations: 0.8646 MB / 0.6873 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.5884, allocations: 4 kB / 0.6873 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001617/0.59, allocations: 0.8924 MB / 0.6882 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.5901, allocations: 12 kB / 0.6882 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.5901, allocations: 12 kB / 0.6882 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003075/0.5931, allocations: 264.5 kB / 0.6884 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.5943, allocations: 284 kB / 0.6887 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/0.5964, allocations: 1.999 MB / 0.6907 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005818/0.5969, allocations: 28 kB / 0.6907 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-05/0.597, allocations: 39.94 kB / 0.6907 GB, free: 14.73 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.0004684/0.5975, allocations: 277.9 kB / 0.691 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.5976, allocations: 71.56 kB / 0.6911 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002713/0.6004, allocations: 2.092 MB / 0.6931 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.623e-05/0.6004, allocations: 27.91 kB / 0.6931 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.6004, allocations: 0 / 0.6931 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.6004, allocations: 7.922 kB / 0.6931 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003815/0.6042, allocations: 2.812 MB / 0.6959 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.6042, allocations: 4 kB / 0.6959 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00091/0.6051, allocations: 183.8 kB / 0.6961 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001667/0.6068, allocations: 300 kB / 0.6963 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.303e-05/0.6068, allocations: 15.94 kB / 0.6964 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/0.6088, allocations: 2.065 MB / 0.6984 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.6088, allocations: 7.969 kB / 0.6984 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002528/0.6114, allocations: 1.98 MB / 0.7003 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003827/0.6118, allocations: 147.5 kB / 0.7005 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.6119, allocations: 31.78 kB / 0.7005 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003915/0.6123, allocations: 15.98 kB / 0.7005 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.664e-05/0.6123, allocations: 40.25 kB / 0.7005 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.82e-05/0.6124, allocations: 16 kB / 0.7006 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007379/0.6131, allocations: 0.5068 MB / 0.7011 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.6131, allocations: 0 / 0.7011 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003455/0.6166, allocations: 1.1 MB / 0.7021 GB, free: 2.836 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.004387/0.621, allocations: 1.196 MB / 0.7033 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002233/0.6232, allocations: 0.901 MB / 0.7042 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.6232, allocations: 0 / 0.7042 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.6244, allocations: 0.5897 MB / 0.7047 GB, free: 148 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.6262, allocations: 333.9 kB / 0.7051 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/0.6297, allocations: 2.218 MB / 0.7072 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005374/0.6303, allocations: 0.4959 MB / 0.7077 GB, free: 13.04 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.6304, allocations: 59.42 kB / 0.7078 GB, free: 12.98 MB / 0.545 GB Notification: Performance of SimCode: time 1.072e-06/0.6305, allocations: 4 kB / 0.7078 GB, free: 12.98 MB / 0.545 GB Notification: Performance of Templates: time 0.3581/0.9886, allocations: 36.91 MB / 0.7438 GB, free: 164.6 MB / 0.5606 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.495467991102487]