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.001138/0.001138, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.00109/0.00109, allocations: 166.3 kB / 24.84 MB, free: 9.297 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.9824/0.9824, allocations: 158.6 MB / 186.7 MB, free: 2.762 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.1399/0.1399, allocations: 32.38 MB / 271.5 MB, free: 14.52 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.503e-06/1.503e-06, allocations: 0 / 348.9 MB, free: 9.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.354e-05, allocations: 5.406 kB / 348.9 MB, free: 9.145 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.01329/0.01331, allocations: 16.5 MB / 365.4 MB, free: 8.582 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.02614, allocations: 13.78 MB / 379.2 MB, free: 10.75 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007278/0.02687, allocations: 27.75 kB / 379.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007011/0.02757, allocations: 254.3 kB / 379.5 MB, free: 10.48 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01133/0.0389, allocations: 4.937 MB / 384.4 MB, free: 5.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003843/0.04275, allocations: 1.951 MB / 386.4 MB, free: 3.562 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002181/0.04493, allocations: 2.078 MB / 388.5 MB, free: 1.473 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006646/0.04559, allocations: 469.9 kB / 388.9 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01059/0.05618, allocations: 7.638 MB / 396.5 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003087/0.05927, allocations: 2.194 MB / 398.7 MB, free: 7.023 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002014/0.05947, allocations: 72 kB / 398.8 MB, free: 6.953 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009992/0.06946, allocations: 6.777 MB / 405.6 MB, free: 172 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004568/0.06992, allocations: 307.1 kB / 405.9 MB, free: 15.87 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005257/0.07045, allocations: 327.3 kB / 406.2 MB, free: 15.55 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0108/0.08124, allocations: 5.628 MB / 411.8 MB, free: 9.906 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.08125, allocations: 0 / 411.8 MB, free: 9.906 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.08125, allocations: 4 kB / 411.8 MB, free: 9.902 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.153e-05/0.08127, allocations: 0 / 411.8 MB, free: 9.902 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.003365/0.08464, allocations: 1.649 MB / 413.5 MB, free: 8.211 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.08467, allocations: 8.031 kB / 413.5 MB, free: 8.203 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/0.08592, allocations: 443.1 kB / 413.9 MB, free: 7.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007089/0.08663, allocations: 0.5395 MB / 414.5 MB, free: 7.203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.08673, allocations: 160.7 kB / 414.6 MB, free: 7.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.3e-05/0.08682, allocations: 68.36 kB / 414.7 MB, free: 6.953 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.08807, allocations: 1.277 MB / 416 MB, free: 5.453 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.0881, allocations: 7.938 kB / 416 MB, free: 5.445 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.173e-05/0.08815, allocations: 24 kB / 416 MB, free: 5.422 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-05/0.08819, allocations: 49.22 kB / 416.1 MB, free: 5.375 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006612/0.08885, allocations: 428.4 kB / 416.5 MB, free: 4.957 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.00345/0.0923, allocations: 5.164 MB / 421.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005973/0.0929, allocations: 393.8 kB / 422 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.09301, allocations: 100 kB / 422.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1898/0.2828, allocations: 21.6 MB / 443.7 MB, free: 67.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.291e-05/0.2829, allocations: 40.64 kB / 443.8 MB, free: 67.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.935e-06/0.2829, allocations: 0 / 443.8 MB, free: 67.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.002718/0.2856, allocations: 1.23 MB / 445 MB, free: 67.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.2857, allocations: 165 kB / 445.1 MB, free: 67.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000379/0.286, allocations: 0.5671 MB / 445.7 MB, free: 67.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.2861, allocations: 35.89 kB / 445.7 MB, free: 67.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.2863, allocations: 473.3 kB / 446.2 MB, free: 67.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.951e-05/0.2863, allocations: 184.5 kB / 446.4 MB, free: 67.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.2865, allocations: 172.6 kB / 446.6 MB, free: 66.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.718e-05/0.2866, allocations: 0.555 MB / 447.1 MB, free: 66.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.2867, allocations: 81.25 kB / 447.2 MB, free: 66.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.287, allocations: 0.6781 MB / 447.9 MB, free: 65.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/0.2874, allocations: 0.7384 MB / 448.6 MB, free: 65.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.2874, allocations: 3.688 kB / 448.6 MB, free: 65.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0006488/0.2881, allocations: 0.6301 MB / 449.2 MB, free: 64.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.2881, allocations: 9.75 kB / 449.2 MB, free: 64.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.2881, allocations: 13.56 kB / 449.3 MB, free: 64.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001699/0.2883, allocations: 47.17 kB / 449.3 MB, free: 64.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005252/0.2888, allocations: 256.3 kB / 449.6 MB, free: 64.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008223/0.2896, allocations: 2.61 MB / 452.2 MB, free: 62.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.2899, allocations: 33.28 kB / 452.2 MB, free: 62.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.29, allocations: 32.5 kB / 452.2 MB, free: 62.36 MB / 362.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.0001963/0.2902, allocations: 233.4 kB / 452.5 MB, free: 62.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.2903, allocations: 77.19 kB / 452.5 MB, free: 62.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009678/0.2912, allocations: 1.292 MB / 453.8 MB, free: 61.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/0.2913, allocations: 30.02 kB / 453.9 MB, free: 61.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.2913, allocations: 0 / 453.9 MB, free: 61.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.2913, allocations: 6.219 kB / 453.9 MB, free: 61.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.2927, allocations: 1.831 MB / 455.7 MB, free: 61.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.2927, allocations: 0 / 455.7 MB, free: 61.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000385/0.2931, allocations: 164.4 kB / 455.9 MB, free: 61.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001744/0.2933, allocations: 48.89 kB / 455.9 MB, free: 61.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.2933, allocations: 14.78 kB / 455.9 MB, free: 61.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007161/0.294, allocations: 2.593 MB / 458.5 MB, free: 58.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.294, allocations: 3.375 kB / 458.5 MB, free: 58.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009749/0.295, allocations: 1.198 MB / 459.7 MB, free: 58.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/0.2952, allocations: 167.9 kB / 459.9 MB, free: 58.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.094e-05/0.2952, allocations: 20.19 kB / 459.9 MB, free: 58.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.2954, allocations: 28.2 kB / 459.9 MB, free: 58.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.2955, allocations: 35.23 kB / 460 MB, free: 58.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.2955, allocations: 23.06 kB / 460 MB, free: 58.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002333/0.2958, allocations: 391.7 kB / 460.4 MB, free: 58.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2958, allocations: 2.719 kB / 460.4 MB, free: 58.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002773/0.2985, allocations: 1.095 MB / 461.5 MB, free: 58.23 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.003615/0.3021, allocations: 1.324 MB / 462.8 MB, free: 57.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009465/0.3031, allocations: 0.5256 MB / 463.3 MB, free: 56.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.3031, allocations: 0 / 463.3 MB, free: 56.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004536/0.3036, allocations: 362.9 kB / 463.7 MB, free: 56.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.3046, allocations: 362.7 kB / 464 MB, free: 56.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.3071, allocations: 1.925 MB / 465.9 MB, free: 54.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.3072, allocations: 255.6 kB / 466.2 MB, free: 54.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004802/0.3077, allocations: 354.1 kB / 466.5 MB, free: 54.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004878/0.3082, allocations: 370.3 kB / 466.9 MB, free: 54.1 MB / 362.7 MB Notification: Performance of SimCode: time 1.653e-06/0.3082, allocations: 4 kB / 466.9 MB, free: 54.09 MB / 362.7 MB Notification: Performance of Templates: time 0.04555/0.3537, allocations: 51.1 MB / 0.5059 GB, free: 5.195 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: 6.410925710108131]