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.0008791/0.0008791, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009784/0.0009784, allocations: 161 kB / 24.56 MB, free: 16 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 0.972/0.972, allocations: 177.1 MB / 205 MB, free: 5.633 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.2803/0.2803, allocations: 34.26 MB / 295.7 MB, free: 0.75 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 2.134e-06/2.134e-06, allocations: 0 / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.291e-05/3.505e-05, allocations: 5.266 kB / 378 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.01666/0.0167, allocations: 16.83 MB / 394.9 MB, free: 1.742 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01398/0.03068, allocations: 13.98 MB / 408.9 MB, free: 3.711 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005755/0.03125, allocations: 27.75 kB / 408.9 MB, free: 3.684 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006634/0.03191, allocations: 254.3 kB / 409.1 MB, free: 3.434 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00968/0.04159, allocations: 4.964 MB / 414.1 MB, free: 14.45 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003953/0.04555, allocations: 1.947 MB / 416 MB, free: 12.5 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002061/0.04761, allocations: 2.082 MB / 418.1 MB, free: 10.41 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006736/0.04828, allocations: 454 kB / 418.6 MB, free: 9.957 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003706/0.05199, allocations: 2.704 MB / 421.3 MB, free: 7.227 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007043/0.05903, allocations: 5.464 MB / 426.7 MB, free: 1.68 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000179/0.05921, allocations: 72 kB / 426.8 MB, free: 1.609 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009752/0.06896, allocations: 6.781 MB / 433.6 MB, free: 10.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003702/0.06933, allocations: 319 kB / 433.9 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004805/0.06981, allocations: 327.3 kB / 434.2 MB, free: 10.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009839/0.07965, allocations: 5.647 MB / 439.9 MB, free: 4.527 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.07966, allocations: 0 / 439.9 MB, free: 4.527 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.07966, allocations: 0 / 439.9 MB, free: 4.527 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.07967, allocations: 0 / 439.9 MB, free: 4.527 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.002945/0.08261, allocations: 1.669 MB / 441.5 MB, free: 2.812 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.08265, allocations: 8.031 kB / 441.5 MB, free: 2.805 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/0.08399, allocations: 435.2 kB / 442 MB, free: 2.379 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006832/0.08467, allocations: 0.5474 MB / 442.5 MB, free: 1.805 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.08479, allocations: 156.7 kB / 442.7 MB, free: 1.629 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-05/0.08487, allocations: 68.36 kB / 442.7 MB, free: 1.562 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.08649, allocations: 1.32 MB / 444.1 MB, free: 24 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.08651, allocations: 3.938 kB / 444.1 MB, free: 20 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.149/0.2355, allocations: 30.92 kB / 444.1 MB, free: 74.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.477e-05/0.2356, allocations: 49.86 kB / 444.1 MB, free: 74.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.2367, allocations: 498.5 kB / 444.6 MB, free: 74.88 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.003157/0.2399, allocations: 5.304 MB / 449.9 MB, free: 71.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006592/0.2405, allocations: 421.8 kB / 450.3 MB, free: 70.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.2407, allocations: 113.2 kB / 450.5 MB, free: 70.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04456/0.2852, allocations: 26.08 MB / 476.5 MB, free: 69.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.464e-05/0.2853, allocations: 47.11 kB / 476.6 MB, free: 69.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 2.975e-06/0.2853, allocations: 3.828 kB / 476.6 MB, free: 69.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.00327/0.2885, allocations: 1.467 MB / 478 MB, free: 68.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.2886, allocations: 161.7 kB / 478.2 MB, free: 68.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004994/0.2891, allocations: 0.5676 MB / 478.8 MB, free: 68.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.2891, allocations: 38.61 kB / 478.8 MB, free: 68.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.2893, allocations: 461.7 kB / 479.3 MB, free: 68.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.236e-05/0.2894, allocations: 181.9 kB / 479.4 MB, free: 68.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.2896, allocations: 167.4 kB / 479.6 MB, free: 68.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2897, allocations: 0.5444 MB / 480.1 MB, free: 67.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.2898, allocations: 101.6 kB / 480.2 MB, free: 67.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.2901, allocations: 0.6652 MB / 480.9 MB, free: 66.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005328/0.2907, allocations: 0.7448 MB / 481.7 MB, free: 66.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.2907, allocations: 2.938 kB / 481.7 MB, free: 66.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0007501/0.2914, allocations: 0.6593 MB / 482.3 MB, free: 66.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.2915, allocations: 11.62 kB / 482.3 MB, free: 66.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.2915, allocations: 15.23 kB / 482.3 MB, free: 66.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001915/0.2917, allocations: 45.81 kB / 482.4 MB, free: 66.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006372/0.2923, allocations: 280.9 kB / 482.7 MB, free: 66.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008091/0.2931, allocations: 2.641 MB / 485.3 MB, free: 63.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/0.2934, allocations: 29.2 kB / 485.3 MB, free: 63.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.2934, allocations: 42.19 kB / 485.4 MB, free: 63.5 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 (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 (95): * Single equations (assignments): 93 * 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.0001736/0.2936, allocations: 220.7 kB / 485.6 MB, free: 63.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.2937, allocations: 85.73 kB / 485.7 MB, free: 63.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.2948, allocations: 1.419 MB / 487.1 MB, free: 62.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.184e-05/0.2949, allocations: 29.94 kB / 487.1 MB, free: 62.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.2949, allocations: 0 / 487.1 MB, free: 62.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.2949, allocations: 2.953 kB / 487.1 MB, free: 62.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.2967, allocations: 2.07 MB / 489.2 MB, free: 62.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.2967, allocations: 1.969 kB / 489.2 MB, free: 62.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004625/0.2971, allocations: 184.6 kB / 489.4 MB, free: 62.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001905/0.2973, allocations: 54.86 kB / 489.4 MB, free: 62.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.2974, allocations: 15.03 kB / 489.4 MB, free: 62.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006724/0.298, allocations: 2.619 MB / 492.1 MB, free: 59.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.298, allocations: 0 / 492.1 MB, free: 59.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.2991, allocations: 1.315 MB / 493.4 MB, free: 59.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001803/0.2993, allocations: 162 kB / 493.5 MB, free: 59.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.313e-05/0.2993, allocations: 24.83 kB / 493.6 MB, free: 59.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.2995, allocations: 32.84 kB / 493.6 MB, free: 59.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.2996, allocations: 38.77 kB / 493.6 MB, free: 59.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.2996, allocations: 19.88 kB / 493.7 MB, free: 59.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000321/0.2999, allocations: 422.5 kB / 494.1 MB, free: 59.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2999, allocations: 0 / 494.1 MB, free: 59.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002396/0.3023, allocations: 1.096 MB / 495.2 MB, free: 59.14 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.003135/0.3055, allocations: 1.287 MB / 496.4 MB, free: 58.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.3065, allocations: 0.6008 MB / 497 MB, free: 58.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3065, allocations: 0 / 497 MB, free: 58.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005326/0.307, allocations: 410.2 kB / 497.4 MB, free: 58.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009446/0.308, allocations: 366.8 kB / 497.8 MB, free: 58.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.3103, allocations: 1.944 MB / 499.8 MB, free: 57.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.3104, allocations: 248.6 kB / 500 MB, free: 57.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004991/0.3109, allocations: 417.5 kB / 0.4887 GB, free: 56.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.57e-05/0.311, allocations: 60.12 kB / 0.4887 GB, free: 56.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.363e-06/0.311, allocations: 4 kB / 0.4887 GB, free: 56.77 MB / 410.7 MB Notification: Performance of Templates: time 0.04807/0.3591, allocations: 45.12 MB / 0.5328 GB, free: 15.65 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: 5.485752589069307]