Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.001057/0.001057, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.00144/0.00144, allocations: 169 kB / 24.24 MB, free: 312 kB / 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.9496/0.9496, allocations: 158.6 MB / 186 MB, free: 2.93 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.1464/0.1464, allocations: 32.38 MB / 270.7 MB, free: 14.77 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.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 3.938 kB / 347.7 MB, free: 9.754 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.69e-05, allocations: 5.406 kB / 347.7 MB, free: 9.75 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.0331/0.03313, allocations: 40.07 MB / 387.8 MB, free: 1.543 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01814/0.05127, allocations: 20.13 MB / 407.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006804/0.05195, allocations: 31.69 kB / 407.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.05296, allocations: 409.3 kB / 408.3 MB, free: 12.91 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01075/0.0637, allocations: 5.178 MB / 413.5 MB, free: 7.707 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005697/0.0694, allocations: 2.59 MB / 416.1 MB, free: 5.105 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002317/0.07172, allocations: 2 MB / 418.1 MB, free: 3.094 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007597/0.07248, allocations: 438 kB / 418.5 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007391/0.07987, allocations: 4.41 MB / 422.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007693/0.08756, allocations: 5.425 MB / 428.4 MB, free: 8.684 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002942/0.08786, allocations: 72 kB / 428.4 MB, free: 8.613 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01078/0.09863, allocations: 6.918 MB / 435.3 MB, free: 1.688 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004256/0.09906, allocations: 307.1 kB / 435.6 MB, free: 1.387 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000731/0.09979, allocations: 327.2 kB / 436 MB, free: 1.066 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1745/0.2742, allocations: 5.741 MB / 441.7 MB, free: 36.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.2743, allocations: 3.656 kB / 441.7 MB, free: 36.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2743, allocations: 0 / 441.7 MB, free: 36.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.053e-05/0.2743, allocations: 0 / 441.7 MB, free: 36.61 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.005099/0.2794, allocations: 1.685 MB / 443.4 MB, free: 35.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.2794, allocations: 9.094 kB / 443.4 MB, free: 35.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.2808, allocations: 373.5 kB / 443.8 MB, free: 35.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008255/0.2816, allocations: 0.5133 MB / 444.3 MB, free: 35.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.2817, allocations: 158.1 kB / 444.4 MB, free: 35.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.924e-05/0.2818, allocations: 65.47 kB / 444.5 MB, free: 35.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.2831, allocations: 1.224 MB / 445.7 MB, free: 34.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.2831, allocations: 4.906 kB / 445.7 MB, free: 34.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.885e-05/0.2832, allocations: 30.81 kB / 445.8 MB, free: 34.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.094e-05/0.2833, allocations: 46 kB / 445.8 MB, free: 34.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.2843, allocations: 481 kB / 446.3 MB, free: 34.54 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.003559/0.2878, allocations: 5.624 MB / 451.9 MB, free: 30.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000977/0.2888, allocations: 403.5 kB / 452.3 MB, free: 30.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.289, allocations: 115.9 kB / 452.4 MB, free: 30.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0442/0.3332, allocations: 25.19 MB / 477.6 MB, free: 23.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.908e-05/0.3332, allocations: 48.72 kB / 477.6 MB, free: 23.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 2.776e-06/0.3333, allocations: 0 / 477.6 MB, free: 23.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.004126/0.3374, allocations: 1.65 MB / 479.3 MB, free: 21.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.3374, allocations: 183.9 kB / 479.5 MB, free: 21.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004813/0.3379, allocations: 0.5748 MB / 480 MB, free: 20.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.251e-05/0.338, allocations: 29.39 kB / 480.1 MB, free: 20.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.3382, allocations: 468.4 kB / 480.5 MB, free: 20.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.3383, allocations: 172.6 kB / 480.7 MB, free: 20.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.3385, allocations: 170.3 kB / 480.9 MB, free: 20.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.3386, allocations: 0.5505 MB / 481.4 MB, free: 19.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/0.3389, allocations: 102.9 kB / 481.5 MB, free: 19.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004596/0.3393, allocations: 0.6953 MB / 482.2 MB, free: 18.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007679/0.3401, allocations: 0.7667 MB / 483 MB, free: 17.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.3401, allocations: 5.438 kB / 483 MB, free: 17.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001219/0.3413, allocations: 0.6606 MB / 483.6 MB, free: 17.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.3414, allocations: 10.66 kB / 483.7 MB, free: 17.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-05/0.3414, allocations: 17.34 kB / 483.7 MB, free: 17.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001664/0.3431, allocations: 252.1 kB / 483.9 MB, free: 17.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006398/0.3437, allocations: 271.2 kB / 484.2 MB, free: 16.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.3448, allocations: 2.659 MB / 486.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004576/0.3453, allocations: 32.98 kB / 486.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/0.3453, allocations: 43.31 kB / 486.9 MB, free: 14.06 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 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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 {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002475/0.3455, allocations: 226.3 kB / 487.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.3457, allocations: 86.81 kB / 487.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.3468, allocations: 1.252 MB / 488.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.3468, allocations: 26.5 kB / 488.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3468, allocations: 5.094 kB / 488.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.3468, allocations: 3.984 kB / 488.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.3485, allocations: 1.879 MB / 490.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.3485, allocations: 0 / 490.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004423/0.349, allocations: 179.3 kB / 490.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008411/0.3498, allocations: 243.7 kB / 490.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.3498, allocations: 8.844 kB / 490.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000821/0.3507, allocations: 2.649 MB / 493.5 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3507, allocations: 2.344 kB / 493.5 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009221/0.3516, allocations: 1.321 MB / 494.8 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001994/0.3518, allocations: 137.3 kB / 494.9 MB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.3519, allocations: 29.72 kB / 494.9 MB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.3521, allocations: 23.2 kB / 495 MB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.3521, allocations: 35.12 kB / 495 MB, free: 6.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.3522, allocations: 16.88 kB / 495 MB, free: 6.535 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003318/0.3525, allocations: 467.7 kB / 495.5 MB, free: 6.148 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3525, allocations: 0.9844 kB / 495.5 MB, free: 6.148 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003733/0.3562, allocations: 1.1 MB / 496.6 MB, free: 5.105 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003786/0.36, allocations: 1.324 MB / 497.9 MB, free: 3.934 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.3611, allocations: 0.5931 MB / 498.5 MB, free: 3.422 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.3611, allocations: 4.688 kB / 498.5 MB, free: 3.418 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005522/0.3617, allocations: 400.7 kB / 498.9 MB, free: 3.059 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.3628, allocations: 360 kB / 499.2 MB, free: 2.777 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/0.3651, allocations: 1.843 MB / 0.4893 GB, free: 1.051 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.3653, allocations: 241.1 kB / 0.4896 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000455/0.3657, allocations: 313 kB / 0.4899 GB, free: 0.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.753e-05/0.3658, allocations: 64.11 kB / 0.4899 GB, free: 452 kB / 362.7 MB Notification: Performance of SimCode: time 1.693e-06/0.3658, allocations: 0 / 0.4899 GB, free: 452 kB / 362.7 MB Notification: Performance of Templates: time 0.05494/0.4208, allocations: 44.93 MB / 0.5338 GB, free: 3.805 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.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.304813897004351]