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.0009953/0.0009953, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001044/0.001044, allocations: 165 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 1.019/1.019, allocations: 177.2 MB / 205 MB, free: 5.594 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.2477/0.2477, allocations: 34.27 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.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.703e-06/1.703e-06, allocations: 0 / 378.1 MB, free: 2.586 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.066e-05, allocations: 2.312 kB / 378.1 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.02187/0.0219, allocations: 16.83 MB / 394.9 MB, free: 1.684 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02032/0.04222, allocations: 13.98 MB / 408.9 MB, free: 3.656 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008622/0.04308, allocations: 27.75 kB / 408.9 MB, free: 3.629 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008276/0.04391, allocations: 250.3 kB / 409.1 MB, free: 3.383 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01467/0.05858, allocations: 4.964 MB / 414.1 MB, free: 14.4 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005325/0.0639, allocations: 1.947 MB / 416.1 MB, free: 12.45 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003281/0.06719, allocations: 2.074 MB / 418.1 MB, free: 10.37 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008794/0.06806, allocations: 465.9 kB / 418.6 MB, free: 9.898 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01181/0.07988, allocations: 7.654 MB / 426.2 MB, free: 2.137 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003037/0.08292, allocations: 2.198 MB / 428.4 MB, free: 15.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000191/0.08311, allocations: 72 kB / 428.5 MB, free: 15.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01029/0.0934, allocations: 6.785 MB / 435.3 MB, free: 9.047 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004203/0.09382, allocations: 307.1 kB / 435.6 MB, free: 8.746 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005692/0.09439, allocations: 327.3 kB / 435.9 MB, free: 8.426 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01109/0.1055, allocations: 5.639 MB / 441.6 MB, free: 2.773 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.1055, allocations: 0 / 441.6 MB, free: 2.773 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1055, allocations: 0 / 441.6 MB, free: 2.773 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.336e-05/0.1055, allocations: 0 / 441.6 MB, free: 2.773 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.003505/0.109, allocations: 1.669 MB / 443.2 MB, free: 1.059 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.109, allocations: 8.031 kB / 443.2 MB, free: 1.051 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/0.1104, allocations: 443.1 kB / 443.7 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000659/0.111, allocations: 0.5513 MB / 444.2 MB, free: 40 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1559/0.2669, allocations: 157.2 kB / 444.4 MB, free: 75.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002393/0.2672, allocations: 65.78 kB / 444.4 MB, free: 75.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.2688, allocations: 1.29 MB / 445.7 MB, free: 74.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.2689, allocations: 6.5 kB / 445.7 MB, free: 74.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.978e-05/0.2689, allocations: 27.38 kB / 445.8 MB, free: 74.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.226e-05/0.269, allocations: 45.59 kB / 445.8 MB, free: 74.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008983/0.2699, allocations: 0.4919 MB / 446.3 MB, free: 74.24 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.003432/0.2733, allocations: 5.294 MB / 451.6 MB, free: 70.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006292/0.2739, allocations: 423.8 kB / 452 MB, free: 70.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.2741, allocations: 120.3 kB / 452.1 MB, free: 70.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04415/0.3182, allocations: 26.07 MB / 478.2 MB, free: 68.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.183e-05/0.3183, allocations: 45.11 kB / 478.2 MB, free: 68.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 3.366e-06/0.3183, allocations: 0 / 478.2 MB, free: 68.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.003449/0.3217, allocations: 1.479 MB / 479.7 MB, free: 68.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.3218, allocations: 166.7 kB / 479.9 MB, free: 68.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005138/0.3223, allocations: 0.566 MB / 480.4 MB, free: 67.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.3223, allocations: 39.58 kB / 480.5 MB, free: 67.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.3225, allocations: 469.3 kB / 480.9 MB, free: 67.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.3227, allocations: 174.3 kB / 481.1 MB, free: 67.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.3228, allocations: 173.5 kB / 481.3 MB, free: 67.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.3229, allocations: 0.548 MB / 481.8 MB, free: 66.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.3231, allocations: 103.7 kB / 481.9 MB, free: 66.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/0.3235, allocations: 0.7007 MB / 482.6 MB, free: 66.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005853/0.324, allocations: 0.7757 MB / 483.4 MB, free: 65.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.324, allocations: 2.594 kB / 483.4 MB, free: 65.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0008406/0.3249, allocations: 0.6832 MB / 484.1 MB, free: 65.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.3249, allocations: 9.219 kB / 484.1 MB, free: 65.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/0.3249, allocations: 12.78 kB / 484.1 MB, free: 65.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002668/0.3252, allocations: 45.05 kB / 484.2 MB, free: 65.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007301/0.3259, allocations: 283.5 kB / 484.4 MB, free: 65.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009624/0.3269, allocations: 2.634 MB / 487.1 MB, free: 62.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003073/0.3272, allocations: 30.53 kB / 487.1 MB, free: 62.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/0.3272, allocations: 50.17 kB / 487.1 MB, free: 62.8 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.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 (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.0002054/0.3274, allocations: 220.9 kB / 487.4 MB, free: 62.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.3276, allocations: 87.33 kB / 487.4 MB, free: 62.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.3287, allocations: 1.425 MB / 488.9 MB, free: 62.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.223e-05/0.3288, allocations: 31.2 kB / 488.9 MB, free: 62.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.3288, allocations: 4.031 kB / 488.9 MB, free: 62.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.3288, allocations: 3.328 kB / 488.9 MB, free: 62.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.3307, allocations: 2.067 MB / 491 MB, free: 61.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3307, allocations: 0 / 491 MB, free: 61.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004247/0.3311, allocations: 184 kB / 491.2 MB, free: 61.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001859/0.3313, allocations: 57.31 kB / 491.2 MB, free: 61.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.3313, allocations: 8.703 kB / 491.2 MB, free: 61.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006884/0.332, allocations: 2.628 MB / 493.8 MB, free: 59.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.332, allocations: 0 / 493.8 MB, free: 59.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000978/0.333, allocations: 1.308 MB / 495.2 MB, free: 58.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.3331, allocations: 168.1 kB / 495.3 MB, free: 58.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.351e-05/0.3332, allocations: 25.66 kB / 495.3 MB, free: 58.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.3334, allocations: 26.81 kB / 495.4 MB, free: 58.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/0.3335, allocations: 28.64 kB / 495.4 MB, free: 58.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/0.3335, allocations: 25.28 kB / 495.4 MB, free: 58.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002831/0.3338, allocations: 429.8 kB / 495.8 MB, free: 58.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3338, allocations: 0 / 495.8 MB, free: 58.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002386/0.3362, allocations: 1.096 MB / 496.9 MB, free: 58.49 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.003063/0.3392, allocations: 1.286 MB / 498.2 MB, free: 58.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.3403, allocations: 0.6118 MB / 498.8 MB, free: 58.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.3403, allocations: 0 / 498.8 MB, free: 58.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000518/0.3408, allocations: 405.5 kB / 499.2 MB, free: 57.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009542/0.3417, allocations: 363.3 kB / 499.6 MB, free: 57.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.3441, allocations: 1.949 MB / 0.4898 GB, free: 56.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.3442, allocations: 252.8 kB / 0.49 GB, free: 55.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000509/0.3447, allocations: 420.9 kB / 0.4904 GB, free: 55.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.306e-05/0.3448, allocations: 60.78 kB / 0.4905 GB, free: 55.58 MB / 410.7 MB Notification: Performance of SimCode: time 1.482e-06/0.3448, allocations: 0 / 0.4905 GB, free: 55.58 MB / 410.7 MB Notification: Performance of Templates: time 0.04789/0.3927, allocations: 51.92 MB / 0.5412 GB, free: 7.469 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: 6.096202409826219]