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.001299/0.001299, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001383/0.001383, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.41/1.41, allocations: 230.6 MB / 258.3 MB, free: 7.977 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.2282/0.2282, allocations: 46.94 MB / 361.6 MB, free: 4.258 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.002169/0.002169, allocations: 63.91 kB / 0.4974 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3129, allocations: 66.03 MB / 0.5619 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04666/0.3596, allocations: 39.77 MB / 0.6007 GB, free: 12.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02608/0.3857, allocations: 20.33 MB / 0.6206 GB, free: 8.102 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00087/0.3865, allocations: 31.69 kB / 0.6206 GB, free: 8.07 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.388, allocations: 445.3 kB / 0.621 GB, free: 7.633 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01425/0.4022, allocations: 5.162 MB / 0.6261 GB, free: 2.469 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007157/0.4094, allocations: 2.587 MB / 0.6286 GB, free: 15.88 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003078/0.4125, allocations: 1.981 MB / 0.6305 GB, free: 13.89 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008075/0.4133, allocations: 413.7 kB / 0.6309 GB, free: 13.48 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009265/0.4225, allocations: 4.184 MB / 0.635 GB, free: 9.238 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01075/0.4333, allocations: 5.49 MB / 0.6404 GB, free: 3.664 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002489/0.4336, allocations: 68 kB / 0.6404 GB, free: 3.598 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01396/0.4475, allocations: 7.278 MB / 0.6476 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000447/0.448, allocations: 279.1 kB / 0.6478 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006408/0.4486, allocations: 453.9 kB / 0.6483 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0108/0.4594, allocations: 4.976 MB / 0.6531 GB, free: 6.605 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4594, allocations: 0 / 0.6531 GB, free: 6.605 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4594, allocations: 0 / 0.6531 GB, free: 6.605 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.4594, allocations: 4 kB / 0.6531 GB, free: 6.602 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.00424/0.4637, allocations: 1.6 MB / 0.6547 GB, free: 4.965 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.4637, allocations: 12.03 kB / 0.6547 GB, free: 4.953 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/0.4652, allocations: 224.3 kB / 0.6549 GB, free: 4.734 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.4662, allocations: 0.5064 MB / 0.6554 GB, free: 4.199 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/0.4664, allocations: 160.7 kB / 0.6555 GB, free: 4.016 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.4665, allocations: 64.11 kB / 0.6556 GB, free: 3.953 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.4684, allocations: 1.071 MB / 0.6567 GB, free: 2.777 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.4685, allocations: 3.938 kB / 0.6567 GB, free: 2.773 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.4e-05/0.4685, allocations: 27.98 kB / 0.6567 GB, free: 2.746 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.085e-05/0.4686, allocations: 48.97 kB / 0.6567 GB, free: 2.699 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.4703, allocations: 0.8193 MB / 0.6575 GB, free: 1.879 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.006191/0.4764, allocations: 5.44 MB / 0.6628 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.4777, allocations: 0.5216 MB / 0.6634 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003301/0.478, allocations: 206.2 kB / 0.6636 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08829/0.5663, allocations: 26 MB / 0.6889 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.85e-05/0.5664, allocations: 34.56 kB / 0.689 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=39): time 2.144e-06/0.5664, allocations: 8 kB / 0.689 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.006372/0.5727, allocations: 2.073 MB / 0.691 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.5729, allocations: 191.9 kB / 0.6912 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008266/0.5737, allocations: 0.6407 MB / 0.6918 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.007e-05/0.5738, allocations: 41.69 kB / 0.6919 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.5741, allocations: 404.2 kB / 0.6922 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.5742, allocations: 174.5 kB / 0.6924 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002119/0.5744, allocations: 158.6 kB / 0.6926 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.5746, allocations: 378.8 kB / 0.6929 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.575, allocations: 233.8 kB / 0.6931 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007335/0.5757, allocations: 0.6014 MB / 0.6937 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.5769, allocations: 0.8528 MB / 0.6946 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.5769, allocations: 4 kB / 0.6946 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001474/0.5783, allocations: 0.9005 MB / 0.6954 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.5784, allocations: 16.03 kB / 0.6955 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.5784, allocations: 12 kB / 0.6955 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003127/0.5815, allocations: 272.4 kB / 0.6957 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.5827, allocations: 279.6 kB / 0.696 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/0.5846, allocations: 2.021 MB / 0.698 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005595/0.5851, allocations: 28 kB / 0.698 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.269e-05/0.5852, allocations: 47.98 kB / 0.698 GB, free: 7.367 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.0004647/0.5857, allocations: 282 kB / 0.6983 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.5858, allocations: 75.53 kB / 0.6984 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002487/0.5883, allocations: 2.077 MB / 0.7004 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.723e-05/0.5883, allocations: 27.91 kB / 0.7004 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5883, allocations: 4 kB / 0.7004 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.5884, allocations: 8.047 kB / 0.7005 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003763/0.5921, allocations: 3.048 MB / 0.7034 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.5921, allocations: 0 / 0.7034 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009052/0.593, allocations: 183.8 kB / 0.7036 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001725/0.5948, allocations: 307.9 kB / 0.7039 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.099e-05/0.5948, allocations: 12 kB / 0.7039 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/0.5968, allocations: 2.088 MB / 0.706 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5968, allocations: 0 / 0.706 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002578/0.5994, allocations: 1.992 MB / 0.7079 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004298/0.5998, allocations: 163 kB / 0.7081 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.5999, allocations: 31.78 kB / 0.7081 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003971/0.6003, allocations: 15.94 kB / 0.7081 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.209e-05/0.6004, allocations: 32.38 kB / 0.7081 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/0.6004, allocations: 19.98 kB / 0.7081 GB, free: 12.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008122/0.6012, allocations: 0.5693 MB / 0.7087 GB, free: 12.21 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6012, allocations: 4.062 kB / 0.7087 GB, free: 12.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003636/0.6049, allocations: 1.1 MB / 0.7098 GB, free: 11.1 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.004805/0.6097, allocations: 1.188 MB / 0.7109 GB, free: 9.898 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00215/0.6118, allocations: 0.9054 MB / 0.7118 GB, free: 8.996 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6118, allocations: 0 / 0.7118 GB, free: 8.996 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.613, allocations: 0.593 MB / 0.7124 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.002089/0.6151, allocations: 411.5 kB / 0.7128 GB, free: 8.016 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003445/0.6186, allocations: 2.224 MB / 0.715 GB, free: 5.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007488/0.6193, allocations: 1.093 MB / 0.716 GB, free: 4.629 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.6195, allocations: 67.44 kB / 0.7161 GB, free: 4.562 MB / 0.545 GB Notification: Performance of SimCode: time 7.91e-07/0.6195, allocations: 0 / 0.7161 GB, free: 4.562 MB / 0.545 GB Notification: Performance of Templates: time 0.2957/0.9152, allocations: 37.39 MB / 0.7526 GB, free: 152.5 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.025936619844288]