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.001881/0.001881, allocations: 116 kB / 20.43 MB, free: 1.449 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.002626/0.002626, allocations: 214.5 kB / 23.74 MB, free: 4.66 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.577/1.577, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.2575/0.2575, allocations: 46.93 MB / 360.8 MB, free: 4.285 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.002045/0.002045, allocations: 75.88 kB / 0.4967 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3308, allocations: 66.04 MB / 0.5611 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.05184/0.3827, allocations: 39.77 MB / 0.6 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03322/0.4159, allocations: 20.33 MB / 0.6198 GB, free: 8.117 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001409/0.4173, allocations: 31.69 kB / 0.6199 GB, free: 8.086 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.4191, allocations: 449.3 kB / 0.6203 GB, free: 7.645 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01704/0.4361, allocations: 5.151 MB / 0.6253 GB, free: 2.492 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008057/0.4441, allocations: 2.598 MB / 0.6279 GB, free: 15.89 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003483/0.4476, allocations: 1.985 MB / 0.6298 GB, free: 13.9 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008936/0.4485, allocations: 405.8 kB / 0.6302 GB, free: 13.49 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01038/0.4589, allocations: 4.187 MB / 0.6343 GB, free: 9.25 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0125/0.4714, allocations: 5.487 MB / 0.6396 GB, free: 3.68 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003811/0.4718, allocations: 64 kB / 0.6397 GB, free: 3.617 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0169/0.4887, allocations: 7.278 MB / 0.6468 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005446/0.4892, allocations: 283.1 kB / 0.6471 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008187/0.4901, allocations: 453.9 kB / 0.6475 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01323/0.5033, allocations: 4.98 MB / 0.6524 GB, free: 6.617 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.5033, allocations: 0 / 0.6524 GB, free: 6.617 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.5033, allocations: 4 kB / 0.6524 GB, free: 6.613 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.5033, allocations: 0 / 0.6524 GB, free: 6.613 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.005034/0.5083, allocations: 1.6 MB / 0.6539 GB, free: 4.977 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.5084, allocations: 8.031 kB / 0.6539 GB, free: 4.969 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.5099, allocations: 228.2 kB / 0.6542 GB, free: 4.746 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.511, allocations: 0.5025 MB / 0.6546 GB, free: 4.215 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/0.5112, allocations: 160.7 kB / 0.6548 GB, free: 4.031 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.5113, allocations: 60.12 kB / 0.6549 GB, free: 3.973 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.5134, allocations: 1.071 MB / 0.6559 GB, free: 2.797 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/0.5134, allocations: 7.938 kB / 0.6559 GB, free: 2.789 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-05/0.5135, allocations: 27.98 kB / 0.6559 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.296e-05/0.5136, allocations: 40.98 kB / 0.656 GB, free: 2.723 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00199/0.5156, allocations: 0.831 MB / 0.6568 GB, free: 1.891 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.006848/0.5224, allocations: 5.432 MB / 0.6621 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.5238, allocations: 0.5154 MB / 0.6626 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/0.5241, allocations: 214.1 kB / 0.6628 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09652/0.6207, allocations: 26 MB / 0.6882 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.922e-05/0.6207, allocations: 38.56 kB / 0.6882 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=39): time 2.645e-06/0.6207, allocations: 4 kB / 0.6882 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.007417/0.6282, allocations: 2.077 MB / 0.6903 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.6283, allocations: 191.9 kB / 0.6904 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.6293, allocations: 0.6485 MB / 0.6911 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.904e-05/0.6294, allocations: 33.7 kB / 0.6911 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003558/0.6297, allocations: 404.3 kB / 0.6915 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.6299, allocations: 174.5 kB / 0.6917 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002532/0.6302, allocations: 158.6 kB / 0.6918 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002278/0.6304, allocations: 382.8 kB / 0.6922 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/0.6309, allocations: 225.9 kB / 0.6924 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008362/0.6317, allocations: 0.5975 MB / 0.693 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.633, allocations: 0.8606 MB / 0.6938 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.633, allocations: 7.938 kB / 0.6938 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001782/0.6348, allocations: 0.9043 MB / 0.6947 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.6348, allocations: 12 kB / 0.6947 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/0.6348, allocations: 12 kB / 0.6947 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003398/0.6382, allocations: 268.5 kB / 0.695 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.6396, allocations: 283.6 kB / 0.6953 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/0.6419, allocations: 2.014 MB / 0.6972 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006757/0.6426, allocations: 31.98 kB / 0.6973 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.852e-05/0.6426, allocations: 44 kB / 0.6973 GB, free: 7.387 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.0005429/0.6432, allocations: 278.1 kB / 0.6976 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/0.6434, allocations: 79.47 kB / 0.6976 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003001/0.6464, allocations: 2.073 MB / 0.6997 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.584e-05/0.6464, allocations: 27.91 kB / 0.6997 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6464, allocations: 8.047 kB / 0.6997 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.6465, allocations: 4 kB / 0.6997 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004835/0.6513, allocations: 3.048 MB / 0.7027 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.6513, allocations: 0 / 0.7027 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009569/0.6523, allocations: 183.8 kB / 0.7029 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001798/0.6541, allocations: 312 kB / 0.7032 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-05/0.6541, allocations: 15.98 kB / 0.7032 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002144/0.6562, allocations: 2.084 MB / 0.7052 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6563, allocations: 0 / 0.7052 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002758/0.659, allocations: 1.992 MB / 0.7071 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000428/0.6594, allocations: 159 kB / 0.7073 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.6596, allocations: 31.78 kB / 0.7073 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005276/0.6602, allocations: 15.98 kB / 0.7073 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.6603, allocations: 36.31 kB / 0.7074 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-05/0.6603, allocations: 16 kB / 0.7074 GB, free: 12.79 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009129/0.6612, allocations: 0.5733 MB / 0.708 GB, free: 12.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6612, allocations: 0 / 0.708 GB, free: 12.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004275/0.6655, allocations: 1.104 MB / 0.709 GB, free: 11.12 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.005701/0.6712, allocations: 1.194 MB / 0.7102 GB, free: 9.918 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002498/0.6737, allocations: 0.9171 MB / 0.7111 GB, free: 9.004 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.6737, allocations: 0 / 0.7111 GB, free: 9.004 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.6751, allocations: 0.6009 MB / 0.7117 GB, free: 8.406 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00254/0.6777, allocations: 404.3 kB / 0.7121 GB, free: 8.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004591/0.6822, allocations: 2.179 MB / 0.7142 GB, free: 5.805 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009529/0.6832, allocations: 1.097 MB / 0.7153 GB, free: 4.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008845/0.6841, allocations: 349 kB / 0.7156 GB, free: 4.34 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.6843, allocations: 67.38 kB / 0.7157 GB, free: 4.273 MB / 0.545 GB Notification: Performance of SimCode: time 1.072e-06/0.6843, allocations: 0 / 0.7157 GB, free: 4.273 MB / 0.545 GB Notification: Performance of Templates: time 0.3615/1.046, allocations: 46.46 MB / 0.761 GB, free: 146.9 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins/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: 9.166454436955974]