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.000948/0.000948, allocations: 75.7 kB / 21.69 MB, free: 2.848 MB / 18.57 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.001184/0.001184, allocations: 166.3 kB / 24.99 MB, free: 9.328 MB / 18.57 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 0.9655/0.9655, allocations: 177.1 MB / 205.3 MB, free: 5.25 MB / 186.7 MB " [Timeout remaining time 179] 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.2731/0.2731, allocations: 34.26 MB / 296.1 MB, free: 0.6367 MB / 266.7 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 1.873e-06/1.873e-06, allocations: 0 / 378 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.953e-05/3.14e-05, allocations: 5.406 kB / 378 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04417/0.0442, allocations: 40.22 MB / 418.3 MB, free: 10.57 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02198/0.06618, allocations: 20.13 MB / 438.4 MB, free: 6.367 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.06731, allocations: 27.75 kB / 438.4 MB, free: 6.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.06854, allocations: 413.2 kB / 438.8 MB, free: 5.934 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01203/0.08057, allocations: 5.197 MB / 444 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.19/0.2706, allocations: 2.579 MB / 446.6 MB, free: 49.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002212/0.2728, allocations: 2.005 MB / 448.6 MB, free: 48.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008404/0.2736, allocations: 436.7 kB / 449 MB, free: 48.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007072/0.2807, allocations: 4.416 MB / 453.4 MB, free: 47.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007476/0.2882, allocations: 5.431 MB / 458.9 MB, free: 46.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002727/0.2885, allocations: 65.81 kB / 458.9 MB, free: 46.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01023/0.2987, allocations: 6.936 MB / 465.9 MB, free: 46.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004365/0.2991, allocations: 301.4 kB / 466.2 MB, free: 46.33 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006634/0.2998, allocations: 321.8 kB / 466.5 MB, free: 46.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01079/0.3106, allocations: 5.762 MB / 472.2 MB, free: 46.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3106, allocations: 0 / 472.2 MB, free: 46.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3106, allocations: 3 kB / 472.3 MB, free: 46.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.918e-05/0.3106, allocations: 0 / 472.3 MB, free: 46.12 MB / 410.7 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.003588/0.3142, allocations: 1.689 MB / 473.9 MB, free: 45.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3142, allocations: 9.609 kB / 473.9 MB, free: 45.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.3155, allocations: 365.9 kB / 474.3 MB, free: 45.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007171/0.3162, allocations: 0.5209 MB / 474.8 MB, free: 44.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.3163, allocations: 165.6 kB / 475 MB, free: 44.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.18e-05/0.3164, allocations: 60.56 kB / 475 MB, free: 44.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.3177, allocations: 1.194 MB / 476.2 MB, free: 43.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.3177, allocations: 6.406 kB / 476.2 MB, free: 43.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.033e-05/0.3178, allocations: 32.98 kB / 476.3 MB, free: 43.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-05/0.3178, allocations: 44.08 kB / 476.3 MB, free: 43.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009787/0.3188, allocations: 483.4 kB / 476.8 MB, free: 43.97 MB / 410.7 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.003457/0.3222, allocations: 5.619 MB / 482.4 MB, free: 39.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008546/0.3231, allocations: 409 kB / 482.8 MB, free: 39.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.3233, allocations: 115.3 kB / 482.9 MB, free: 39.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05699/0.3803, allocations: 26.14 MB / 0.4971 GB, free: 36.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.479e-05/0.3803, allocations: 41.39 kB / 0.4972 GB, free: 36.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.825e-06/0.3803, allocations: 0 / 0.4972 GB, free: 36.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.003802/0.3841, allocations: 1.655 MB / 0.4988 GB, free: 34.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.3842, allocations: 191.7 kB / 0.499 GB, free: 34.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004159/0.3846, allocations: 0.5647 MB / 0.4995 GB, free: 33.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.3846, allocations: 37.7 kB / 0.4996 GB, free: 33.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.3848, allocations: 470.8 kB / 0.5 GB, free: 33.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.748e-05/0.3848, allocations: 177.3 kB / 0.5002 GB, free: 32.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.385, allocations: 164.2 kB / 0.5003 GB, free: 32.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.555e-05/0.3851, allocations: 0.5508 MB / 0.5009 GB, free: 32.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.3852, allocations: 101.9 kB / 0.501 GB, free: 32.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003194/0.3855, allocations: 0.6988 MB / 0.5017 GB, free: 31.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000531/0.3861, allocations: 0.7602 MB / 0.5024 GB, free: 30.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.3861, allocations: 4 kB / 0.5024 GB, free: 30.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0007571/0.3868, allocations: 0.6635 MB / 0.5031 GB, free: 29.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.3869, allocations: 17.72 kB / 0.5031 GB, free: 29.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.3869, allocations: 12 kB / 0.5031 GB, free: 29.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001651/0.3885, allocations: 243.4 kB / 0.5033 GB, free: 29.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005881/0.3891, allocations: 269.4 kB / 0.5036 GB, free: 29.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008657/0.39, allocations: 2.673 MB / 0.5062 GB, free: 26.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003409/0.3903, allocations: 31.95 kB / 0.5062 GB, free: 26.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.511e-05/0.3904, allocations: 48.14 kB / 0.5063 GB, free: 26.16 MB / 410.7 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.0002077/0.3906, allocations: 225.1 kB / 0.5065 GB, free: 25.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.3907, allocations: 75.62 kB / 0.5065 GB, free: 25.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009814/0.3916, allocations: 1.266 MB / 0.5078 GB, free: 24.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.3917, allocations: 27.95 kB / 0.5078 GB, free: 24.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.3917, allocations: 4.062 kB / 0.5078 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.3917, allocations: 0 / 0.5078 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.3933, allocations: 1.861 MB / 0.5096 GB, free: 22.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.3933, allocations: 0 / 0.5096 GB, free: 22.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004287/0.3937, allocations: 182.6 kB / 0.5098 GB, free: 22.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007909/0.3945, allocations: 247.2 kB / 0.51 GB, free: 22.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.3946, allocations: 15.98 kB / 0.5101 GB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006776/0.3952, allocations: 2.639 MB / 0.5126 GB, free: 19.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3952, allocations: 0 / 0.5126 GB, free: 19.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009001/0.3961, allocations: 1.323 MB / 0.5139 GB, free: 18.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/0.3963, allocations: 143.1 kB / 0.5141 GB, free: 17.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.951e-05/0.3964, allocations: 35.72 kB / 0.5141 GB, free: 17.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.3966, allocations: 16 kB / 0.5141 GB, free: 17.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/0.3966, allocations: 35.5 kB / 0.5141 GB, free: 17.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.3967, allocations: 15.98 kB / 0.5142 GB, free: 17.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003186/0.397, allocations: 462.9 kB / 0.5146 GB, free: 17.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.397, allocations: 0 / 0.5146 GB, free: 17.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002768/0.3997, allocations: 1.1 MB / 0.5157 GB, free: 16.33 MB / 410.7 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.003671/0.4034, allocations: 1.334 MB / 0.517 GB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.4046, allocations: 0.5972 MB / 0.5176 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.4046, allocations: 128 / 0.5176 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005075/0.4051, allocations: 395.3 kB / 0.5179 GB, free: 14.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.4062, allocations: 351.5 kB / 0.5183 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.4085, allocations: 1.839 MB / 0.5201 GB, free: 12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.4086, allocations: 241.7 kB / 0.5203 GB, free: 11.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000464/0.4091, allocations: 315.7 kB / 0.5206 GB, free: 11.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.4092, allocations: 56.5 kB / 0.5206 GB, free: 11.38 MB / 410.7 MB Notification: Performance of SimCode: time 1.754e-06/0.4092, allocations: 0 / 0.5206 GB, free: 11.38 MB / 410.7 MB Notification: Performance of Templates: time 0.05792/0.4671, allocations: 45.01 MB / 0.5646 GB, free: 14.76 MB / 458.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.346716865897179]