Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.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.00131/0.00131, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001106/0.001106, allocations: 170.3 kB / 24.91 MB, free: 9.227 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.9557/0.9557, allocations: 177.1 MB / 205.3 MB, free: 5.156 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.2432/0.2432, 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.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 325.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.857e-05, allocations: 6.203 kB / 325.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.01381/0.01383, allocations: 16.73 MB / 342 MB, free: 6.891 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01265/0.02647, allocations: 13.99 MB / 356 MB, free: 8.852 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003753/0.02685, allocations: 27.75 kB / 356 MB, free: 8.824 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005289/0.02737, allocations: 250.2 kB / 356.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008502/0.03588, allocations: 4.98 MB / 361.2 MB, free: 3.578 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00316/0.03904, allocations: 1.974 MB / 363.2 MB, free: 1.598 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001802/0.04084, allocations: 2.07 MB / 365.3 MB, free: 15.52 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004422/0.04128, allocations: 469.9 kB / 365.7 MB, free: 15.04 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008945/0.05023, allocations: 7.661 MB / 373.4 MB, free: 7.266 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002446/0.05267, allocations: 2.17 MB / 375.6 MB, free: 5.066 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.034e-05/0.05276, allocations: 72 kB / 375.6 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008978/0.06174, allocations: 6.781 MB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002552/0.06199, allocations: 303.1 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003007/0.06229, allocations: 331.3 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006486/0.06878, allocations: 5.636 MB / 388.7 MB, free: 7.938 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.06878, allocations: 0 / 388.7 MB, free: 7.938 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.06879, allocations: 0 / 388.7 MB, free: 7.938 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.06879, allocations: 4 kB / 388.7 MB, free: 7.934 MB / 362.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.002172/0.07096, allocations: 1.517 MB / 390.2 MB, free: 6.387 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.071, allocations: 8.031 kB / 390.2 MB, free: 6.379 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.07214, allocations: 479.4 kB / 390.7 MB, free: 5.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005204/0.07266, allocations: 451.3 kB / 391.1 MB, free: 5.441 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.52e-05/0.07276, allocations: 164.7 kB / 391.3 MB, free: 5.254 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.738e-05/0.07283, allocations: 64.38 kB / 391.3 MB, free: 5.191 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.07392, allocations: 1.199 MB / 392.5 MB, free: 3.812 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.07394, allocations: 7.875 kB / 392.5 MB, free: 3.805 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.782e-05/0.07398, allocations: 24 kB / 392.6 MB, free: 3.781 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.204e-05/0.07403, allocations: 45.3 kB / 392.6 MB, free: 3.738 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008223/0.07485, allocations: 411.3 kB / 393 MB, free: 3.336 MB / 362.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.0025/0.07735, allocations: 3.621 MB / 396.6 MB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005034/0.07785, allocations: 367.7 kB / 397 MB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.589e-05/0.07795, allocations: 82.56 kB / 397.1 MB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2575/0.3355, allocations: 67.26 MB / 464.3 MB, free: 92.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.3355, allocations: 41.78 kB / 464.4 MB, free: 92.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 2.114e-06/0.3355, allocations: 0 / 464.4 MB, free: 92.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.002867/0.3384, allocations: 1.154 MB / 465.5 MB, free: 91.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.3384, allocations: 161.4 kB / 465.7 MB, free: 91.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.3388, allocations: 497.5 kB / 466.2 MB, free: 91.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.3388, allocations: 41.11 kB / 466.2 MB, free: 91.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.3389, allocations: 369.6 kB / 466.6 MB, free: 90.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.935e-05/0.339, allocations: 177.5 kB / 466.7 MB, free: 90.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.3392, allocations: 153.8 kB / 466.9 MB, free: 90.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.616e-05/0.3392, allocations: 379.5 kB / 467.3 MB, free: 90.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.3393, allocations: 73.77 kB / 467.3 MB, free: 90.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.3396, allocations: 0.5182 MB / 467.9 MB, free: 89.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004205/0.34, allocations: 0.5856 MB / 468.4 MB, free: 88.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.34, allocations: 7.188 kB / 468.5 MB, free: 88.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0005625/0.3406, allocations: 0.4998 MB / 469 MB, free: 88.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.3406, allocations: 11.75 kB / 469 MB, free: 88.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.3406, allocations: 12 kB / 469 MB, free: 88.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001709/0.3408, allocations: 47.94 kB / 469 MB, free: 88.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006563/0.3414, allocations: 252.7 kB / 469.3 MB, free: 88.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006495/0.3421, allocations: 1.762 MB / 471 MB, free: 86.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.3424, allocations: 33.42 kB / 471.1 MB, free: 86.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.3424, allocations: 34.5 kB / 471.1 MB, free: 86.3 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 (ambient.state.phase,shortPipe.flowModel.states[1].phase,shortPipe.flowModel.states[2].phase,volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1],fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001721/0.3426, allocations: 183.1 kB / 471.3 MB, free: 86.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-05/0.3427, allocations: 57.69 kB / 471.3 MB, free: 86.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009188/0.3436, allocations: 1.296 MB / 472.6 MB, free: 84.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/0.3436, allocations: 33.08 kB / 472.7 MB, free: 84.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.3436, allocations: 0 / 472.7 MB, free: 84.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3436, allocations: 3.984 kB / 472.7 MB, free: 84.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.345, allocations: 1.635 MB / 474.3 MB, free: 83.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.345, allocations: 1.641 kB / 474.3 MB, free: 83.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004747/0.3455, allocations: 166.1 kB / 474.5 MB, free: 83.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001864/0.3457, allocations: 51.03 kB / 474.5 MB, free: 83.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.3457, allocations: 10.62 kB / 474.5 MB, free: 83.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005387/0.3462, allocations: 1.767 MB / 476.3 MB, free: 81.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3462, allocations: 4.188 kB / 476.3 MB, free: 81.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007424/0.347, allocations: 1.066 MB / 477.4 MB, free: 80.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.3471, allocations: 129.8 kB / 477.5 MB, free: 80.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.566e-05/0.3472, allocations: 23.5 kB / 477.5 MB, free: 80.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.3475, allocations: 22.55 kB / 477.5 MB, free: 80.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.3475, allocations: 36.17 kB / 477.6 MB, free: 80.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.3475, allocations: 19.61 kB / 477.6 MB, free: 80.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001962/0.3477, allocations: 256.9 kB / 477.8 MB, free: 80.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3477, allocations: 4.031 kB / 477.8 MB, free: 80.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002158/0.3499, allocations: 1.098 MB / 478.9 MB, free: 79.08 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002377/0.3523, allocations: 1.365 MB / 480.3 MB, free: 77.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006179/0.3529, allocations: 0.5014 MB / 480.8 MB, free: 77.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.68e-05/0.3529, allocations: 14.47 kB / 480.8 MB, free: 77.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000357/0.3533, allocations: 326.3 kB / 481.1 MB, free: 77.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007849/0.3541, allocations: 355.5 kB / 481.5 MB, free: 76.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.3559, allocations: 1.911 MB / 483.4 MB, free: 75.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.356, allocations: 253.8 kB / 483.6 MB, free: 74.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003845/0.3564, allocations: 356.1 kB / 484 MB, free: 74.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000433/0.3568, allocations: 314.6 kB / 484.3 MB, free: 74.23 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3568, allocations: 0 / 484.3 MB, free: 74.23 MB / 410.7 MB Notification: Performance of Templates: time 0.04092/0.3978, allocations: 50.2 MB / 0.522 GB, free: 24.67 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.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.063153084833175]