Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001393/0.001393, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0009582/0.0009582, allocations: 161 kB / 24.56 MB, free: 20 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.052/1.052, allocations: 177.1 MB / 205 MB, free: 5.297 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.2478/0.2478, allocations: 32.81 MB / 294.3 MB, free: 1.246 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_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.501e-05, allocations: 2.312 kB / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.01737/0.0174, allocations: 16.83 MB / 392.9 MB, free: 3.777 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01639/0.03379, allocations: 13.99 MB / 406.8 MB, free: 5.738 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004902/0.03428, allocations: 27.75 kB / 406.9 MB, free: 5.711 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000747/0.03503, allocations: 250.2 kB / 407.1 MB, free: 5.465 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01138/0.0464, allocations: 4.968 MB / 412.1 MB, free: 492 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004305/0.05071, allocations: 1.951 MB / 414 MB, free: 14.52 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002141/0.05285, allocations: 2.035 MB / 416.1 MB, free: 12.48 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004991/0.05335, allocations: 441.9 kB / 416.5 MB, free: 12.04 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003956/0.0573, allocations: 2.677 MB / 419.2 MB, free: 9.336 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008237/0.06554, allocations: 5.452 MB / 424.6 MB, free: 3.801 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.06565, allocations: 68 kB / 424.7 MB, free: 3.734 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01052/0.07617, allocations: 6.746 MB / 431.4 MB, free: 12.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002392/0.07641, allocations: 299.1 kB / 431.7 MB, free: 12.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002982/0.07671, allocations: 323.3 kB / 432.1 MB, free: 12.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006296/0.08301, allocations: 5.585 MB / 437.6 MB, free: 6.773 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.08301, allocations: 0 / 437.6 MB, free: 6.773 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.08301, allocations: 0 / 437.6 MB, free: 6.773 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.08302, allocations: 0 / 437.6 MB, free: 6.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.002164/0.08518, allocations: 1.657 MB / 439.3 MB, free: 5.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.08523, allocations: 8.031 kB / 439.3 MB, free: 5.062 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009098/0.08614, allocations: 355.4 kB / 439.7 MB, free: 4.715 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005966/0.08673, allocations: 0.5279 MB / 440.2 MB, free: 4.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.08685, allocations: 156.7 kB / 440.3 MB, free: 3.984 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.162e-05/0.08693, allocations: 72.34 kB / 440.4 MB, free: 3.914 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.0881, allocations: 1.197 MB / 441.6 MB, free: 2.504 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.08813, allocations: 7.938 kB / 441.6 MB, free: 2.496 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.345e-05/0.08818, allocations: 31.94 kB / 441.6 MB, free: 2.465 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.317e-05/0.08823, allocations: 36.98 kB / 441.7 MB, free: 2.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007432/0.08898, allocations: 485.2 kB / 442.1 MB, free: 1.953 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.1741/0.2631, allocations: 5.61 MB / 447.8 MB, free: 71.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007352/0.2638, allocations: 401.5 kB / 448.2 MB, free: 71.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.264, allocations: 115.1 kB / 448.3 MB, free: 71.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04259/0.3066, allocations: 26.13 MB / 474.4 MB, free: 70.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.3066, allocations: 41.89 kB / 474.4 MB, free: 70.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.334e-06/0.3066, allocations: 0 / 474.4 MB, free: 70.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.003702/0.3103, allocations: 1.668 MB / 476.1 MB, free: 69.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.3104, allocations: 189.4 kB / 476.3 MB, free: 69.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005076/0.3109, allocations: 0.5706 MB / 476.9 MB, free: 69.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.3109, allocations: 35.45 kB / 476.9 MB, free: 69.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.3111, allocations: 468.2 kB / 477.3 MB, free: 68.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.927e-05/0.3112, allocations: 178.9 kB / 477.5 MB, free: 68.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.3113, allocations: 166.9 kB / 477.7 MB, free: 68.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3115, allocations: 0.5476 MB / 478.2 MB, free: 68.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.3116, allocations: 102.3 kB / 478.3 MB, free: 68.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/0.312, allocations: 0.696 MB / 479 MB, free: 67.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006207/0.3127, allocations: 0.7628 MB / 479.8 MB, free: 66.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.3127, allocations: 4.906 kB / 479.8 MB, free: 66.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0008706/0.3135, allocations: 0.6676 MB / 480.5 MB, free: 66.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.3136, allocations: 14.91 kB / 480.5 MB, free: 66.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.3136, allocations: 13.83 kB / 480.5 MB, free: 66.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001613/0.3152, allocations: 246.3 kB / 480.7 MB, free: 66.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006383/0.3158, allocations: 275.9 kB / 481 MB, free: 66.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/0.3169, allocations: 2.66 MB / 483.7 MB, free: 64.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.3172, allocations: 34.08 kB / 483.7 MB, free: 64.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.092e-05/0.3173, allocations: 40.28 kB / 483.7 MB, free: 64.2 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.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.0002056/0.3175, allocations: 228 kB / 484 MB, free: 64.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.3176, allocations: 82.69 kB / 484 MB, free: 64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.3188, allocations: 1.264 MB / 485.3 MB, free: 63.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.573e-05/0.3188, allocations: 25.89 kB / 485.3 MB, free: 63.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3188, allocations: 4.766 kB / 485.3 MB, free: 63.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.3188, allocations: 2.062 kB / 485.3 MB, free: 63.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.3208, allocations: 1.869 MB / 487.2 MB, free: 63.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.3208, allocations: 2.078 kB / 487.2 MB, free: 63.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004914/0.3213, allocations: 179.4 kB / 487.4 MB, free: 63.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009149/0.3222, allocations: 241.6 kB / 487.6 MB, free: 63.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.3222, allocations: 11.05 kB / 487.6 MB, free: 63.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007347/0.323, allocations: 2.647 MB / 490.3 MB, free: 60.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.323, allocations: 0 / 490.3 MB, free: 60.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009318/0.3239, allocations: 1.317 MB / 491.6 MB, free: 60.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.324, allocations: 143.8 kB / 491.7 MB, free: 60.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.504e-05/0.3241, allocations: 37.33 kB / 491.8 MB, free: 60.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.3243, allocations: 14.55 kB / 491.8 MB, free: 60.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.459e-05/0.3244, allocations: 33.83 kB / 491.8 MB, free: 60.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.3244, allocations: 18.5 kB / 491.8 MB, free: 60.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003531/0.3247, allocations: 458.7 kB / 492.3 MB, free: 59.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3247, allocations: 0 / 492.3 MB, free: 59.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002364/0.3271, allocations: 1.093 MB / 493.4 MB, free: 59.82 MB / 410.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.002606/0.3297, allocations: 1.309 MB / 494.7 MB, free: 59.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009487/0.3307, allocations: 0.5893 MB / 495.3 MB, free: 59.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3307, allocations: 5.797 kB / 495.3 MB, free: 59.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005014/0.3312, allocations: 396.7 kB / 495.7 MB, free: 59.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009755/0.3321, allocations: 355.7 kB / 496 MB, free: 59.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.3345, allocations: 1.836 MB / 497.8 MB, free: 58.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.3347, allocations: 240.5 kB / 498.1 MB, free: 58.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004465/0.3351, allocations: 325.1 kB / 498.4 MB, free: 58.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.121e-05/0.3352, allocations: 57.94 kB / 498.5 MB, free: 58.58 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.3352, allocations: 0 / 498.5 MB, free: 58.58 MB / 410.7 MB Notification: Performance of Templates: time 0.0361/0.3713, allocations: 44.56 MB / 0.5303 GB, free: 18.48 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.130598681978881]