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.0009951/0.0009951, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009739/0.0009739, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.9544/0.9544, allocations: 177.1 MB / 205 MB, free: 5.629 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.2462/0.2462, allocations: 34.26 MB / 295.7 MB, free: 0.6836 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.323e-06/1.323e-06, allocations: 3.938 kB / 378.1 MB, free: 2.602 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.953e-05, allocations: 2.312 kB / 378.1 MB, free: 2.598 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.0143/0.01432, allocations: 16.82 MB / 394.9 MB, free: 1.703 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01232/0.02664, allocations: 13.98 MB / 408.9 MB, free: 3.668 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003935/0.02703, allocations: 31.69 kB / 408.9 MB, free: 3.637 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005496/0.02758, allocations: 242.4 kB / 409.1 MB, free: 3.398 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008561/0.03614, allocations: 4.975 MB / 414.1 MB, free: 14.41 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003272/0.03942, allocations: 1.947 MB / 416 MB, free: 12.45 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001919/0.04134, allocations: 2.046 MB / 418.1 MB, free: 10.41 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006301/0.04197, allocations: 438 kB / 418.5 MB, free: 9.965 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00947/0.05144, allocations: 7.634 MB / 426.2 MB, free: 2.223 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002849/0.05428, allocations: 2.182 MB / 428.3 MB, free: 12 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003696/0.05465, allocations: 68.05 kB / 428.4 MB, free: 15.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009709/0.06436, allocations: 6.75 MB / 435.2 MB, free: 9.188 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003523/0.06472, allocations: 295.1 kB / 435.4 MB, free: 8.898 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000476/0.06519, allocations: 315.3 kB / 435.8 MB, free: 8.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009906/0.0751, allocations: 5.581 MB / 441.3 MB, free: 2.996 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.0751, allocations: 3.984 kB / 441.3 MB, free: 2.992 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.07511, allocations: 4 kB / 441.3 MB, free: 2.988 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.203e-05/0.07513, allocations: 0 / 441.3 MB, free: 2.988 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.003137/0.07826, allocations: 1.646 MB / 443 MB, free: 1.297 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.0783, allocations: 12.03 kB / 443 MB, free: 1.285 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009721/0.07928, allocations: 363.4 kB / 443.4 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006564/0.07993, allocations: 0.524 MB / 443.9 MB, free: 388 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.08005, allocations: 164.7 kB / 444 MB, free: 200 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.961e-05/0.08013, allocations: 60.38 kB / 444.1 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1691/0.2492, allocations: 1.164 MB / 445.3 MB, free: 70.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/0.2492, allocations: 9.609 kB / 445.3 MB, free: 70.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.521e-05/0.2493, allocations: 32.81 kB / 445.3 MB, free: 70.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.257e-05/0.2493, allocations: 43.2 kB / 445.3 MB, free: 70.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008093/0.2502, allocations: 484.5 kB / 445.8 MB, free: 70.26 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.003891/0.254, allocations: 5.603 MB / 451.4 MB, free: 66.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007131/0.2548, allocations: 410.1 kB / 451.8 MB, free: 65.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.2549, allocations: 113 kB / 451.9 MB, free: 65.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04379/0.2987, allocations: 26.14 MB / 478.1 MB, free: 64.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/0.2987, allocations: 40.7 kB / 478.1 MB, free: 64.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.965e-06/0.2987, allocations: 5.125 kB / 478.1 MB, free: 64.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.004576/0.3033, allocations: 1.659 MB / 479.8 MB, free: 63.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.3034, allocations: 189.1 kB / 480 MB, free: 63.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005421/0.3039, allocations: 0.5763 MB / 480.5 MB, free: 63.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.3039, allocations: 38.45 kB / 480.6 MB, free: 63.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.3041, allocations: 472 kB / 481 MB, free: 63.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.3042, allocations: 180.1 kB / 481.2 MB, free: 62.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.3044, allocations: 174.9 kB / 481.4 MB, free: 62.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3045, allocations: 0.5453 MB / 481.9 MB, free: 62.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.3048, allocations: 105 kB / 482 MB, free: 62.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/0.3052, allocations: 0.7263 MB / 482.8 MB, free: 61.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006532/0.3058, allocations: 0.7989 MB / 483.6 MB, free: 60.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.3058, allocations: 2.938 kB / 483.6 MB, free: 60.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0009946/0.3068, allocations: 0.6921 MB / 484.2 MB, free: 60.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.3068, allocations: 8.094 kB / 484.3 MB, free: 60.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.3068, allocations: 18.77 kB / 484.3 MB, free: 60.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002072/0.3089, allocations: 249.7 kB / 484.5 MB, free: 60.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000809/0.3097, allocations: 282.1 kB / 484.8 MB, free: 60.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/0.3108, allocations: 2.664 MB / 487.5 MB, free: 58.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004164/0.3112, allocations: 33.08 kB / 487.5 MB, free: 58.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.894e-05/0.3112, allocations: 42.36 kB / 487.5 MB, free: 58.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (97): * Single equations (assignments): 95 * 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.0002219/0.3114, allocations: 221.8 kB / 487.7 MB, free: 58.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.3116, allocations: 85.36 kB / 487.8 MB, free: 57.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.3128, allocations: 1.257 MB / 489.1 MB, free: 57.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.593e-05/0.3129, allocations: 26.16 kB / 489.1 MB, free: 57.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3129, allocations: 3.25 kB / 489.1 MB, free: 57.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.3129, allocations: 2.625 kB / 489.1 MB, free: 57.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.3149, allocations: 1.873 MB / 491 MB, free: 57.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3149, allocations: 0 / 491 MB, free: 57.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005626/0.3155, allocations: 184.1 kB / 491.2 MB, free: 57.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/0.3165, allocations: 246.4 kB / 491.4 MB, free: 57.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/0.3165, allocations: 16.47 kB / 491.4 MB, free: 57.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008066/0.3173, allocations: 2.64 MB / 494.1 MB, free: 54.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3173, allocations: 3 kB / 494.1 MB, free: 54.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.3184, allocations: 1.315 MB / 495.4 MB, free: 54.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.3186, allocations: 144.4 kB / 495.5 MB, free: 54.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-05/0.3187, allocations: 40.16 kB / 495.6 MB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.319, allocations: 13.03 kB / 495.6 MB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.795e-05/0.319, allocations: 35.78 kB / 495.6 MB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.3191, allocations: 14.28 kB / 495.6 MB, free: 54.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003954/0.3195, allocations: 465.5 kB / 496.1 MB, free: 53.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3195, allocations: 0 / 496.1 MB, free: 53.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002633/0.3221, allocations: 1.096 MB / 497.2 MB, free: 53.79 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.003803/0.3259, allocations: 1.295 MB / 498.5 MB, free: 53.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001249/0.3272, allocations: 0.6111 MB / 499.1 MB, free: 53.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.3272, allocations: 0 / 499.1 MB, free: 53.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000661/0.3278, allocations: 390.4 kB / 499.5 MB, free: 53.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.3291, allocations: 354.1 kB / 499.8 MB, free: 53.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/0.3316, allocations: 1.846 MB / 0.4899 GB, free: 52.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.3318, allocations: 243.2 kB / 0.4901 GB, free: 52.17 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00058/0.3324, allocations: 318.2 kB / 0.4904 GB, free: 51.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.3325, allocations: 59.78 kB / 0.4905 GB, free: 51.93 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3325, allocations: 0 / 0.4905 GB, free: 51.93 MB / 410.7 MB Notification: Performance of Templates: time 0.05022/0.3827, allocations: 51.16 MB / 0.5405 GB, free: 4.707 MB / 410.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.811503112781793]