Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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.001399/0.001399, 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.00189/0.00189, 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.223/1.223, allocations: 177.1 MB / 205 MB, free: 5.621 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.2882/0.2882, allocations: 32.8 MB / 294.3 MB, free: 1.27 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.WaterIF97_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.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/3.006e-05, allocations: 6.312 kB / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.01606/0.01609, allocations: 16.83 MB / 392.9 MB, free: 3.738 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01405/0.03015, allocations: 13.98 MB / 406.9 MB, free: 5.703 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008673/0.03101, allocations: 27.75 kB / 406.9 MB, free: 5.676 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007271/0.03174, allocations: 238.4 kB / 407.1 MB, free: 5.441 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0113/0.04304, allocations: 4.976 MB / 412.1 MB, free: 456 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004388/0.04742, allocations: 1.947 MB / 414 MB, free: 14.49 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002742/0.05017, allocations: 2.066 MB / 416.1 MB, free: 12.42 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007207/0.05089, allocations: 445.6 kB / 416.5 MB, free: 11.97 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01006/0.06095, allocations: 7.654 MB / 424.2 MB, free: 4.211 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002908/0.06386, allocations: 2.206 MB / 426.4 MB, free: 1.977 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.064, allocations: 72 kB / 426.5 MB, free: 1.906 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01399/0.07799, allocations: 6.785 MB / 433.2 MB, free: 11.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005809/0.07857, allocations: 299.1 kB / 433.5 MB, free: 10.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008569/0.07943, allocations: 327.3 kB / 433.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0128/0.09222, allocations: 5.624 MB / 439.5 MB, free: 4.867 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.09223, allocations: 7.984 kB / 439.5 MB, free: 4.859 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.09223, allocations: 0 / 439.5 MB, free: 4.859 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.9e-05/0.09225, allocations: 0 / 439.5 MB, free: 4.859 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.004059/0.09631, allocations: 1.673 MB / 441.2 MB, free: 3.141 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.09637, allocations: 12.03 kB / 441.2 MB, free: 3.129 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002029/0.0984, allocations: 443.1 kB / 441.6 MB, free: 2.695 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009637/0.09936, allocations: 0.5475 MB / 442.2 MB, free: 2.121 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001713/0.09953, allocations: 164.7 kB / 442.3 MB, free: 1.938 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.09965, allocations: 64.36 kB / 442.4 MB, free: 1.875 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.1013, allocations: 1.301 MB / 443.7 MB, free: 388 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.1014, allocations: 3.938 kB / 443.7 MB, free: 384 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.183e-05/0.1014, allocations: 27.98 kB / 443.7 MB, free: 356 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.508e-05/0.1015, allocations: 45.3 kB / 443.8 MB, free: 308 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1881/0.2896, allocations: 0.621 MB / 444.4 MB, free: 72.33 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.00368/0.2933, allocations: 5.36 MB / 449.7 MB, free: 68.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.2944, allocations: 0.5821 MB / 450.3 MB, free: 68.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.2946, allocations: 139.2 kB / 450.5 MB, free: 68.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01469/0.3093, allocations: 8.701 MB / 459.2 MB, free: 67.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/0.3093, allocations: 44.08 kB / 459.2 MB, free: 67.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 3.005e-06/0.3093, allocations: 0 / 459.2 MB, free: 67.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.003348/0.3127, allocations: 1.703 MB / 460.9 MB, free: 67.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.3127, allocations: 167.5 kB / 461.1 MB, free: 67.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004517/0.3132, allocations: 0.5623 MB / 461.6 MB, free: 67.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.3132, allocations: 32.55 kB / 461.7 MB, free: 67.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.3134, allocations: 464.5 kB / 462.1 MB, free: 66.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.938e-05/0.3135, allocations: 184.6 kB / 462.3 MB, free: 66.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.3137, allocations: 176.2 kB / 462.5 MB, free: 66.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3138, allocations: 0.5474 MB / 463 MB, free: 66.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.314, allocations: 139.7 kB / 463.2 MB, free: 66.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.3143, allocations: 0.708 MB / 463.9 MB, free: 65.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006132/0.315, allocations: 0.8063 MB / 464.7 MB, free: 64.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.315, allocations: 7.281 kB / 464.7 MB, free: 64.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0008237/0.3158, allocations: 0.7321 MB / 465.4 MB, free: 64.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.3158, allocations: 15.48 kB / 465.4 MB, free: 64.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.3158, allocations: 12.69 kB / 465.4 MB, free: 64.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/0.316, allocations: 48.28 kB / 465.5 MB, free: 64.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006159/0.3166, allocations: 292.1 kB / 465.8 MB, free: 64.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008895/0.3175, allocations: 2.639 MB / 468.4 MB, free: 62.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003187/0.3178, allocations: 35.95 kB / 468.4 MB, free: 62.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.56e-05/0.3179, allocations: 44.03 kB / 468.5 MB, free: 62.12 MB / 410.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 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].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.00019/0.3181, allocations: 225.2 kB / 468.7 MB, free: 61.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.466e-05/0.3182, allocations: 81.27 kB / 468.8 MB, free: 61.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.3195, allocations: 1.674 MB / 470.5 MB, free: 61.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/0.3195, allocations: 35.64 kB / 470.5 MB, free: 61.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.3195, allocations: 0 / 470.5 MB, free: 61.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.3195, allocations: 7.031 kB / 470.5 MB, free: 61.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.3216, allocations: 2.322 MB / 472.8 MB, free: 61.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.3216, allocations: 4.047 kB / 472.8 MB, free: 61.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004806/0.3221, allocations: 209.8 kB / 473 MB, free: 61.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001892/0.3223, allocations: 48.39 kB / 473.1 MB, free: 61.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/0.3223, allocations: 21.84 kB / 473.1 MB, free: 61.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007175/0.323, allocations: 2.611 MB / 475.7 MB, free: 58.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.323, allocations: 3.938 kB / 475.7 MB, free: 58.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.3242, allocations: 1.482 MB / 477.2 MB, free: 58.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.3244, allocations: 175.8 kB / 477.4 MB, free: 58.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.087e-05/0.3244, allocations: 35.78 kB / 477.4 MB, free: 58.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.3246, allocations: 20.58 kB / 477.4 MB, free: 58.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.721e-05/0.3247, allocations: 54.03 kB / 477.5 MB, free: 58.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.3247, allocations: 22.09 kB / 477.5 MB, free: 58.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003469/0.3251, allocations: 466.8 kB / 478 MB, free: 57.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3251, allocations: 7.312 kB / 478 MB, free: 57.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002721/0.3278, allocations: 1.099 MB / 479.1 MB, free: 57.77 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: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.003283/0.3311, allocations: 1.3 MB / 480.4 MB, free: 57.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.3325, allocations: 0.6836 MB / 481 MB, free: 57.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3325, allocations: 4.656 kB / 481 MB, free: 57.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007766/0.3333, allocations: 480.7 kB / 481.5 MB, free: 57.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.3345, allocations: 358.4 kB / 481.9 MB, free: 57.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00292/0.3374, allocations: 2.151 MB / 484 MB, free: 56.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.3376, allocations: 279.1 kB / 484.3 MB, free: 56.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006209/0.3383, allocations: 410.9 kB / 484.7 MB, free: 56.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.3384, allocations: 66.77 kB / 484.8 MB, free: 56.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.663e-06/0.3384, allocations: 4 kB / 484.8 MB, free: 56.43 MB / 410.7 MB Notification: Performance of Templates: time 0.05999/0.3984, allocations: 53.26 MB / 0.5254 GB, free: 21.29 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_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.602857144083828]