Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001375/0.001375, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.00143/0.00143, allocations: 168.7 kB / 24.91 MB, free: 9.199 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 1.095/1.095, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2842/0.2842, allocations: 32.8 MB / 294.6 MB, free: 1.238 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.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.h|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 0 / 323.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.971e-05/3.251e-05, allocations: 4.703 kB / 323.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.02389/0.02392, allocations: 16.79 MB / 340.1 MB, free: 8.781 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02098/0.04491, allocations: 13.98 MB / 354.1 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009729/0.04588, allocations: 27.75 kB / 354.1 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000937/0.04682, allocations: 246.3 kB / 354.3 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01294/0.05975, allocations: 4.542 MB / 358.9 MB, free: 5.922 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004305/0.06406, allocations: 1.865 MB / 360.7 MB, free: 4.051 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002847/0.0669, allocations: 2.074 MB / 362.8 MB, free: 1.965 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.06791, allocations: 462 kB / 363.3 MB, free: 1.492 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009502/0.07741, allocations: 7.649 MB / 370.9 MB, free: 9.734 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002718/0.08013, allocations: 2.174 MB / 373.1 MB, free: 7.531 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001803/0.08031, allocations: 68 kB / 373.1 MB, free: 7.465 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01089/0.0912, allocations: 7.268 MB / 380.4 MB, free: 196 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004512/0.09165, allocations: 303.1 kB / 380.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005693/0.09222, allocations: 335.2 kB / 381 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01071/0.1029, allocations: 5.64 MB / 386.7 MB, free: 9.914 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.1029, allocations: 4 kB / 386.7 MB, free: 9.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1029, allocations: 0 / 386.7 MB, free: 9.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.103, allocations: 0 / 386.7 MB, free: 9.91 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.003189/0.1061, allocations: 1.517 MB / 388.2 MB, free: 8.363 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1062, allocations: 8.031 kB / 388.2 MB, free: 8.355 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/0.1076, allocations: 471.5 kB / 388.7 MB, free: 7.895 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006438/0.1083, allocations: 451.3 kB / 389.1 MB, free: 7.426 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.1084, allocations: 164.7 kB / 389.3 MB, free: 7.238 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.258e-05/0.1085, allocations: 64.31 kB / 389.3 MB, free: 7.176 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.1098, allocations: 1.201 MB / 390.5 MB, free: 5.797 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.1098, allocations: 11.86 kB / 390.5 MB, free: 5.785 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.139e-05/0.1098, allocations: 31.98 kB / 390.6 MB, free: 5.754 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.986e-05/0.1099, allocations: 45.3 kB / 390.6 MB, free: 5.711 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006577/0.1105, allocations: 399.3 kB / 391 MB, free: 5.32 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.002835/0.1134, allocations: 3.624 MB / 394.6 MB, free: 1.566 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006067/0.114, allocations: 371.7 kB / 395 MB, free: 1.184 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.956e-05/0.1141, allocations: 89.66 kB / 395.1 MB, free: 1.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.269/0.3831, allocations: 67.25 MB / 462.3 MB, free: 95.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.79e-05/0.3831, allocations: 45.38 kB / 462.4 MB, free: 95.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 2.705e-06/0.3831, allocations: 0 / 462.4 MB, free: 95.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.002578/0.3857, allocations: 1.151 MB / 463.5 MB, free: 94.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.3858, allocations: 171.2 kB / 463.7 MB, free: 94.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.3861, allocations: 499.9 kB / 464.2 MB, free: 94.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.3861, allocations: 32.83 kB / 464.2 MB, free: 94.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.3862, allocations: 372.7 kB / 464.6 MB, free: 94.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.151e-05/0.3863, allocations: 174 kB / 464.7 MB, free: 93.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.3865, allocations: 159.2 kB / 464.9 MB, free: 93.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.158e-05/0.3865, allocations: 373.7 kB / 465.3 MB, free: 93.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.74e-05/0.3866, allocations: 74.03 kB / 465.3 MB, free: 93.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.3868, allocations: 0.5217 MB / 465.9 MB, free: 92.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.3872, allocations: 0.5918 MB / 466.5 MB, free: 92.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.3872, allocations: 5.641 kB / 466.5 MB, free: 92.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0004606/0.3877, allocations: 0.4957 MB / 467 MB, free: 91.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3877, allocations: 15.75 kB / 467 MB, free: 91.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.3877, allocations: 12 kB / 467 MB, free: 91.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000153/0.3878, allocations: 38.91 kB / 467 MB, free: 91.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005531/0.3884, allocations: 273.7 kB / 467.3 MB, free: 91.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000582/0.389, allocations: 1.77 MB / 469.1 MB, free: 89.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.3892, allocations: 31 kB / 469.1 MB, free: 89.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.3892, allocations: 39.28 kB / 469.1 MB, free: 89.66 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.0001561/0.3894, allocations: 178.6 kB / 469.3 MB, free: 89.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.042e-05/0.3895, allocations: 63.48 kB / 469.4 MB, free: 89.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007317/0.3902, allocations: 1.291 MB / 470.6 MB, free: 88.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/0.3902, allocations: 38.23 kB / 470.7 MB, free: 88.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.3902, allocations: 0 / 470.7 MB, free: 88.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3902, allocations: 0 / 470.7 MB, free: 88.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.3913, allocations: 1.631 MB / 472.3 MB, free: 86.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3913, allocations: 0 / 472.3 MB, free: 86.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003934/0.3917, allocations: 167.5 kB / 472.5 MB, free: 86.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001528/0.3919, allocations: 47.59 kB / 472.5 MB, free: 86.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.3919, allocations: 11.56 kB / 472.5 MB, free: 86.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004653/0.3924, allocations: 1.773 MB / 474.3 MB, free: 84.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3924, allocations: 0 / 474.3 MB, free: 84.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005913/0.393, allocations: 1.07 MB / 475.4 MB, free: 83.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.3931, allocations: 130.3 kB / 475.5 MB, free: 83.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/0.3931, allocations: 29.3 kB / 475.5 MB, free: 83.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.3933, allocations: 21.27 kB / 475.6 MB, free: 83.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.3934, allocations: 39.17 kB / 475.6 MB, free: 83.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.3934, allocations: 18.61 kB / 475.6 MB, free: 83.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001431/0.3935, allocations: 258.7 kB / 475.9 MB, free: 83.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3935, allocations: 0 / 475.9 MB, free: 83.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001868/0.3954, allocations: 1.095 MB / 477 MB, free: 82.47 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.002352/0.3977, allocations: 1.366 MB / 478.3 MB, free: 81.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006054/0.3983, allocations: 0.4983 MB / 478.8 MB, free: 80.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.581e-05/0.3984, allocations: 8.5 kB / 478.8 MB, free: 80.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003612/0.3987, allocations: 326.2 kB / 479.2 MB, free: 80.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007893/0.3995, allocations: 365.8 kB / 479.5 MB, free: 80.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.4014, allocations: 1.903 MB / 481.4 MB, free: 78.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/0.4015, allocations: 255.5 kB / 481.7 MB, free: 78.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00041/0.4019, allocations: 356.6 kB / 482 MB, free: 77.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004594/0.4024, allocations: 311.1 kB / 482.3 MB, free: 77.62 MB / 410.7 MB Notification: Performance of SimCode: time 7.42e-07/0.4024, allocations: 0 / 482.3 MB, free: 77.62 MB / 410.7 MB Notification: Performance of Templates: time 0.04384/0.4462, allocations: 50.25 MB / 0.5201 GB, free: 28.02 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.208478271961212]