Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001406/0.001406, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009985/0.0009985, allocations: 165.5 kB / 24.99 MB, free: 8.793 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.9597/0.9597, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2633/0.2633, allocations: 32.8 MB / 294.6 MB, free: 1.297 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 376 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.999e-05, allocations: 2.312 kB / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04195/0.04197, allocations: 40.23 MB / 416.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02762/0.06959, allocations: 20.13 MB / 436.4 MB, free: 8.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007918/0.07038, allocations: 27.75 kB / 436.4 MB, free: 8.383 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.07173, allocations: 413.2 kB / 436.8 MB, free: 7.977 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009871/0.08161, allocations: 5.201 MB / 442 MB, free: 2.754 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005072/0.08668, allocations: 2.586 MB / 444.6 MB, free: 160 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.157/0.2437, allocations: 2.007 MB / 446.6 MB, free: 50.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006706/0.2443, allocations: 430.4 kB / 447 MB, free: 50.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006022/0.2504, allocations: 4.41 MB / 451.4 MB, free: 49.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006363/0.2567, allocations: 5.435 MB / 456.9 MB, free: 48.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.2568, allocations: 64.09 kB / 456.9 MB, free: 48.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00897/0.2658, allocations: 6.938 MB / 463.9 MB, free: 48.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002435/0.2661, allocations: 299.3 kB / 464.2 MB, free: 48.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003561/0.2664, allocations: 321.4 kB / 464.5 MB, free: 48.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007628/0.274, allocations: 5.763 MB / 470.2 MB, free: 48.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.274, allocations: 0 / 470.2 MB, free: 48.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.274, allocations: 0 / 470.2 MB, free: 48.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.2741, allocations: 0 / 470.2 MB, free: 48.21 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.002767/0.2768, allocations: 1.696 MB / 471.9 MB, free: 47.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.2769, allocations: 9.188 kB / 471.9 MB, free: 47.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.278, allocations: 362.4 kB / 472.3 MB, free: 47.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005686/0.2786, allocations: 0.5247 MB / 472.8 MB, free: 46.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.118e-05/0.2787, allocations: 161.4 kB / 473 MB, free: 46.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.699e-05/0.2788, allocations: 67.33 kB / 473 MB, free: 46.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.2799, allocations: 1.19 MB / 474.2 MB, free: 46.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.2799, allocations: 5.906 kB / 474.2 MB, free: 46.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.236e-05/0.2799, allocations: 32.06 kB / 474.3 MB, free: 46.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.126e-05/0.28, allocations: 41.05 kB / 474.3 MB, free: 46.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000789/0.2808, allocations: 485.2 kB / 474.8 MB, free: 46.06 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.002999/0.2838, allocations: 5.627 MB / 480.4 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008425/0.2846, allocations: 399.3 kB / 480.8 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.2848, allocations: 114.2 kB / 480.9 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04429/0.3291, allocations: 26.14 MB / 0.4952 GB, free: 38.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.3291, allocations: 43.92 kB / 0.4952 GB, free: 38.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 3.216e-06/0.3291, allocations: 7.625 kB / 0.4952 GB, free: 38.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.003785/0.3329, allocations: 1.649 MB / 0.4968 GB, free: 38.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.333, allocations: 191 kB / 0.497 GB, free: 37.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000466/0.3334, allocations: 0.5741 MB / 0.4976 GB, free: 37.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.3335, allocations: 31.77 kB / 0.4976 GB, free: 37.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.3337, allocations: 471 kB / 0.498 GB, free: 37.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.749e-05/0.3337, allocations: 173.7 kB / 0.4982 GB, free: 37.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.3339, allocations: 166.1 kB / 0.4984 GB, free: 36.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.041e-05/0.334, allocations: 0.5508 MB / 0.4989 GB, free: 36.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.3341, allocations: 97.94 kB / 0.499 GB, free: 36.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/0.3344, allocations: 0.7018 MB / 0.4997 GB, free: 35.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005125/0.335, allocations: 0.7638 MB / 0.5004 GB, free: 34.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.335, allocations: 4 kB / 0.5004 GB, free: 34.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00074/0.3357, allocations: 0.6633 MB / 0.5011 GB, free: 33.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.3357, allocations: 8 kB / 0.5011 GB, free: 33.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.3357, allocations: 13 kB / 0.5011 GB, free: 33.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001618/0.3374, allocations: 248 kB / 0.5013 GB, free: 33.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005711/0.3379, allocations: 276.9 kB / 0.5016 GB, free: 33.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.339, allocations: 2.663 MB / 0.5042 GB, free: 30.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/0.3392, allocations: 31.95 kB / 0.5042 GB, free: 30.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.113e-05/0.3393, allocations: 44 kB / 0.5043 GB, free: 30.35 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.0001788/0.3394, allocations: 227.3 kB / 0.5045 GB, free: 30.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.764e-05/0.3395, allocations: 75.62 kB / 0.5046 GB, free: 30.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009629/0.3405, allocations: 1.267 MB / 0.5058 GB, free: 28.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.3405, allocations: 19.97 kB / 0.5058 GB, free: 28.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.3405, allocations: 4 kB / 0.5058 GB, free: 28.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.3405, allocations: 7.125 kB / 0.5058 GB, free: 28.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.342, allocations: 1.873 MB / 0.5077 GB, free: 26.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.342, allocations: 0 / 0.5077 GB, free: 26.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004276/0.3425, allocations: 179.3 kB / 0.5078 GB, free: 26.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007466/0.3432, allocations: 247.2 kB / 0.5081 GB, free: 26.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.3432, allocations: 8 kB / 0.5081 GB, free: 26.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006757/0.3439, allocations: 2.648 MB / 0.5107 GB, free: 23.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3439, allocations: 0 / 0.5107 GB, free: 23.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008483/0.3448, allocations: 1.317 MB / 0.512 GB, free: 22.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.3449, allocations: 143.1 kB / 0.5121 GB, free: 22.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.449e-05/0.3449, allocations: 31.78 kB / 0.5121 GB, free: 22.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.3451, allocations: 19.98 kB / 0.5121 GB, free: 22.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.3452, allocations: 32.44 kB / 0.5122 GB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/0.3452, allocations: 20.06 kB / 0.5122 GB, free: 22.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002856/0.3455, allocations: 462.9 kB / 0.5126 GB, free: 21.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3455, allocations: 0 / 0.5126 GB, free: 21.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002424/0.3479, allocations: 1.104 MB / 0.5137 GB, free: 20.51 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.002385/0.3503, allocations: 1.327 MB / 0.515 GB, free: 19.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008155/0.3511, allocations: 0.5968 MB / 0.5156 GB, free: 18.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3511, allocations: 4 kB / 0.5156 GB, free: 18.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004601/0.3516, allocations: 396.3 kB / 0.516 GB, free: 18.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009002/0.3525, allocations: 363 kB / 0.5163 GB, free: 18.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.3545, allocations: 1.828 MB / 0.5181 GB, free: 16.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.3546, allocations: 233.8 kB / 0.5183 GB, free: 15.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003567/0.355, allocations: 318.3 kB / 0.5186 GB, free: 15.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.905e-05/0.355, allocations: 60.5 kB / 0.5187 GB, free: 15.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.213e-06/0.355, allocations: 0 / 0.5187 GB, free: 15.57 MB / 410.7 MB Notification: Performance of Templates: time 0.04678/0.4018, allocations: 45.02 MB / 0.5626 GB, free: 2.953 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.287346965866163]