Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009605/0.0009605, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.0009767/0.0009767, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9381/0.9381, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1391/0.1391, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/1.969e-05, allocations: 8.219 kB / 347.7 MB, free: 9.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.01297/0.01299, allocations: 16.71 MB / 364.4 MB, free: 8.648 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01259/0.02558, allocations: 13.98 MB / 378.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003982/0.02598, allocations: 27.75 kB / 378.4 MB, free: 10.6 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006809/0.02666, allocations: 258.2 kB / 378.7 MB, free: 10.34 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01047/0.03712, allocations: 4.939 MB / 383.6 MB, free: 5.387 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004476/0.0416, allocations: 1.947 MB / 385.5 MB, free: 3.434 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002053/0.04365, allocations: 2.07 MB / 387.6 MB, free: 1.352 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004629/0.04412, allocations: 477.9 kB / 388.1 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003831/0.04795, allocations: 2.689 MB / 390.8 MB, free: 14.15 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006678/0.05462, allocations: 5.456 MB / 396.2 MB, free: 8.613 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.05474, allocations: 72 kB / 396.3 MB, free: 8.543 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01065/0.0654, allocations: 6.777 MB / 403.1 MB, free: 1.758 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002977/0.06569, allocations: 307.1 kB / 403.4 MB, free: 1.457 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003836/0.06608, allocations: 343.2 kB / 403.7 MB, free: 1.121 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01142/0.0775, allocations: 5.624 MB / 409.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.0775, allocations: 4 kB / 409.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.0775, allocations: 0 / 409.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.07752, allocations: 0 / 409.3 MB, free: 11.48 MB / 346.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.00434/0.08186, allocations: 1.665 MB / 411 MB, free: 9.773 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/0.08192, allocations: 12.03 kB / 411 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/0.0839, allocations: 439.1 kB / 411.4 MB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009505/0.08485, allocations: 0.5357 MB / 412 MB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.08501, allocations: 164.7 kB / 412.1 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.08514, allocations: 68.38 kB / 412.2 MB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002261/0.0874, allocations: 1.364 MB / 413.6 MB, free: 6.922 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.08743, allocations: 7.875 kB / 413.6 MB, free: 6.914 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.233e-05/0.08752, allocations: 28 kB / 413.6 MB, free: 6.887 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.961e-05/0.08758, allocations: 41.3 kB / 413.6 MB, free: 6.848 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.08878, allocations: 499 kB / 414.1 MB, free: 6.359 MB / 346.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.004837/0.09361, allocations: 5.305 MB / 419.4 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009727/0.09459, allocations: 430.9 kB / 419.9 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.09481, allocations: 119.3 kB / 420 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2496/0.3445, allocations: 25.12 MB / 445.1 MB, free: 67.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.915e-05/0.3445, allocations: 43.55 kB / 445.1 MB, free: 67.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 4.057e-06/0.3445, allocations: 0 / 445.1 MB, free: 67.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.003397/0.3479, allocations: 1.464 MB / 446.6 MB, free: 67.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.348, allocations: 169.2 kB / 446.8 MB, free: 66.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004438/0.3484, allocations: 0.562 MB / 447.3 MB, free: 66.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.3484, allocations: 36.73 kB / 447.4 MB, free: 66.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.3486, allocations: 464.5 kB / 447.8 MB, free: 66.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.539e-05/0.3487, allocations: 178.2 kB / 448 MB, free: 66.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.3488, allocations: 163.1 kB / 448.1 MB, free: 66.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3489, allocations: 0.5576 MB / 448.7 MB, free: 65.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.3491, allocations: 94.08 kB / 448.8 MB, free: 65.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/0.3494, allocations: 0.6756 MB / 449.5 MB, free: 65.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000538/0.35, allocations: 0.7417 MB / 450.2 MB, free: 64.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.35, allocations: 3.781 kB / 450.2 MB, free: 64.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.000748/0.3507, allocations: 0.6484 MB / 450.9 MB, free: 64.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.3507, allocations: 9.875 kB / 450.9 MB, free: 64.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.3507, allocations: 10.62 kB / 450.9 MB, free: 64.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002434/0.351, allocations: 47.89 kB / 450.9 MB, free: 64.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006464/0.3516, allocations: 283.1 kB / 451.2 MB, free: 64.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008956/0.3525, allocations: 2.634 MB / 453.8 MB, free: 61.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/0.3528, allocations: 28.19 kB / 453.9 MB, free: 61.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.575e-05/0.3528, allocations: 45.48 kB / 453.9 MB, free: 61.72 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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.0001907/0.353, allocations: 225.5 kB / 454.1 MB, free: 61.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.3531, allocations: 84.41 kB / 454.2 MB, free: 61.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.3542, allocations: 1.417 MB / 455.6 MB, free: 61.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.3542, allocations: 32.11 kB / 455.7 MB, free: 61.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.3542, allocations: 3.5 kB / 455.7 MB, free: 61.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3542, allocations: 7.406 kB / 455.7 MB, free: 61.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.3558, allocations: 2.065 MB / 457.7 MB, free: 60.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3558, allocations: 1.094 kB / 457.7 MB, free: 60.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005048/0.3563, allocations: 180.4 kB / 457.9 MB, free: 60.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001892/0.3565, allocations: 61.69 kB / 458 MB, free: 60.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.3565, allocations: 13.95 kB / 458 MB, free: 60.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006725/0.3572, allocations: 2.621 MB / 460.6 MB, free: 58.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3572, allocations: 0 / 460.6 MB, free: 58.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009829/0.3582, allocations: 1.31 MB / 461.9 MB, free: 57.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.3584, allocations: 174.1 kB / 462.1 MB, free: 57.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.214e-05/0.3584, allocations: 22.09 kB / 462.1 MB, free: 57.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.3586, allocations: 22.95 kB / 462.1 MB, free: 57.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.919e-05/0.3587, allocations: 41.95 kB / 462.2 MB, free: 57.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.3587, allocations: 22.08 kB / 462.2 MB, free: 57.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003063/0.3591, allocations: 418.5 kB / 462.6 MB, free: 57.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3591, allocations: 0 / 462.6 MB, free: 57.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002482/0.3615, allocations: 1.092 MB / 463.7 MB, free: 56.11 MB / 362.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.003076/0.3646, allocations: 1.303 MB / 465 MB, free: 55.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008903/0.3655, allocations: 0.5934 MB / 465.6 MB, free: 54.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.3655, allocations: 4 kB / 465.6 MB, free: 54.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004913/0.366, allocations: 411.2 kB / 466 MB, free: 54.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009134/0.3669, allocations: 367.7 kB / 466.4 MB, free: 54.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/0.3691, allocations: 1.934 MB / 468.3 MB, free: 52.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.3692, allocations: 247.1 kB / 468.5 MB, free: 52.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004284/0.3696, allocations: 425.5 kB / 469 MB, free: 52.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.755e-05/0.3697, allocations: 60.44 kB / 469 MB, free: 52.03 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.3697, allocations: 7.469 kB / 469 MB, free: 52.03 MB / 362.7 MB Notification: Performance of Templates: time 0.03861/0.4083, allocations: 45.05 MB / 0.502 GB, free: 8.219 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.354742751922458]