Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001298/0.001298, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00142/0.00142, allocations: 167.1 kB / 24.82 MB, free: 9.32 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1/1, allocations: 177 MB / 205.1 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2933/0.2933, allocations: 34.86 MB / 296.6 MB, free: 0.5078 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 379.2 MB, free: 1.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.768e-05, allocations: 2.875 kB / 379.2 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.01702/0.01705, allocations: 16.63 MB / 395.9 MB, free: 1.105 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01462/0.03167, allocations: 13.77 MB / 409.6 MB, free: 3.281 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004723/0.03214, allocations: 27.75 kB / 409.7 MB, free: 3.254 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005279/0.03267, allocations: 246.3 kB / 409.9 MB, free: 3.012 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008815/0.04148, allocations: 4.964 MB / 414.9 MB, free: 14.03 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00374/0.04522, allocations: 1.955 MB / 416.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002159/0.04738, allocations: 2.074 MB / 418.9 MB, free: 9.988 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000617/0.048, allocations: 454 kB / 419.3 MB, free: 9.531 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008262/0.05626, allocations: 7.665 MB / 427 MB, free: 1.758 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002727/0.05898, allocations: 2.191 MB / 429.2 MB, free: 15.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.0591, allocations: 72 kB / 429.3 MB, free: 15.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009796/0.06889, allocations: 6.789 MB / 436.1 MB, free: 8.672 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.06912, allocations: 303.1 kB / 436.4 MB, free: 8.375 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002719/0.0694, allocations: 327.3 kB / 436.7 MB, free: 8.055 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005561/0.07496, allocations: 5.636 MB / 442.3 MB, free: 2.406 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.07496, allocations: 0 / 442.3 MB, free: 2.406 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.07496, allocations: 4 kB / 442.3 MB, free: 2.402 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.07497, allocations: 0 / 442.3 MB, free: 2.402 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.002244/0.07721, allocations: 1.657 MB / 444 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.07725, allocations: 12.03 kB / 444 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.07839, allocations: 439.1 kB / 444.4 MB, free: 264 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1711/0.2495, allocations: 0.528 MB / 444.9 MB, free: 74.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.2496, allocations: 162.7 kB / 445.1 MB, free: 74.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.402e-05/0.2497, allocations: 65.94 kB / 445.2 MB, free: 74.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.251, allocations: 1.254 MB / 446.4 MB, free: 74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.251, allocations: 6.469 kB / 446.4 MB, free: 74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.153e-05/0.251, allocations: 30.14 kB / 446.5 MB, free: 74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.574e-05/0.2511, allocations: 43.44 kB / 446.5 MB, free: 74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006401/0.2517, allocations: 433.8 kB / 446.9 MB, free: 73.98 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.003165/0.2549, allocations: 5.156 MB / 452.1 MB, free: 70.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000585/0.2555, allocations: 397.4 kB / 452.5 MB, free: 70.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.2556, allocations: 109.5 kB / 452.6 MB, free: 70.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03986/0.2954, allocations: 22.69 MB / 475.3 MB, free: 68.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.462e-05/0.2955, allocations: 45.5 kB / 475.3 MB, free: 68.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 2.765e-06/0.2955, allocations: 0 / 475.3 MB, free: 68.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.003017/0.2985, allocations: 1.249 MB / 476.6 MB, free: 68.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.2986, allocations: 160.4 kB / 476.7 MB, free: 68.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004275/0.299, allocations: 0.5639 MB / 477.3 MB, free: 68.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.299, allocations: 35.89 kB / 477.3 MB, free: 68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.2992, allocations: 480.9 kB / 477.8 MB, free: 67.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.856e-05/0.2993, allocations: 179.4 kB / 478 MB, free: 67.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.2995, allocations: 176.5 kB / 478.1 MB, free: 67.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.2996, allocations: 0.5522 MB / 478.7 MB, free: 67.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.2998, allocations: 77.7 kB / 478.8 MB, free: 67.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.3001, allocations: 0.6872 MB / 479.4 MB, free: 66.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005376/0.3006, allocations: 0.7401 MB / 480.2 MB, free: 65.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.994e-06/0.3006, allocations: 4.125 kB / 480.2 MB, free: 65.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0008216/0.3014, allocations: 0.6407 MB / 480.8 MB, free: 65.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.3015, allocations: 10.91 kB / 480.8 MB, free: 65.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.3015, allocations: 11.88 kB / 480.8 MB, free: 65.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002133/0.3017, allocations: 64 kB / 480.9 MB, free: 65.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006199/0.3023, allocations: 258.1 kB / 481.2 MB, free: 65.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01927/0.3216, allocations: 11.49 MB / 492.7 MB, free: 61.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006282/0.3222, allocations: 30.8 kB / 492.7 MB, free: 61.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.081e-05/0.3223, allocations: 36.28 kB / 492.7 MB, free: 61.5 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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003033/0.3226, allocations: 228.6 kB / 492.9 MB, free: 61.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.3227, allocations: 87.7 kB / 493 MB, free: 61.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.3239, allocations: 1.3 MB / 494.3 MB, free: 60.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/0.3239, allocations: 28.33 kB / 494.4 MB, free: 60.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.324, allocations: 2.25 kB / 494.4 MB, free: 60.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.324, allocations: 2.359 kB / 494.4 MB, free: 60.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.3258, allocations: 1.846 MB / 496.2 MB, free: 60.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.3258, allocations: 0 / 496.2 MB, free: 60.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004911/0.3263, allocations: 159.1 kB / 496.4 MB, free: 60.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002702/0.3266, allocations: 99.31 kB / 496.5 MB, free: 60.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.3266, allocations: 15.19 kB / 496.5 MB, free: 60.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.3279, allocations: 3.581 MB / 0.4883 GB, free: 56.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3279, allocations: 0 / 0.4883 GB, free: 56.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.3289, allocations: 1.216 MB / 0.4895 GB, free: 55.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/0.3291, allocations: 166.1 kB / 0.4897 GB, free: 55.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.369e-05/0.3292, allocations: 23.72 kB / 0.4897 GB, free: 55.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/0.3295, allocations: 27.5 kB / 0.4897 GB, free: 55.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.534e-05/0.3295, allocations: 39.25 kB / 0.4898 GB, free: 55.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/0.3295, allocations: 19.14 kB / 0.4898 GB, free: 55.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002593/0.3298, allocations: 393.1 kB / 0.4902 GB, free: 55.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3298, allocations: 4 kB / 0.4902 GB, free: 55.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002784/0.3326, allocations: 1.099 MB / 0.4912 GB, free: 54.15 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 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003725/0.3363, allocations: 1.326 MB / 0.4925 GB, free: 53.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00121/0.3375, allocations: 0.7246 MB / 0.4932 GB, free: 52.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.3375, allocations: 4.062 kB / 0.4932 GB, free: 52.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005897/0.3381, allocations: 0.5064 MB / 0.4937 GB, free: 52.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.3394, allocations: 359.8 kB / 0.4941 GB, free: 51.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.3421, allocations: 1.927 MB / 0.496 GB, free: 50.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.3423, allocations: 255.6 kB / 0.4962 GB, free: 50 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005518/0.3428, allocations: 360.3 kB / 0.4965 GB, free: 49.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005846/0.3434, allocations: 377.1 kB / 0.4969 GB, free: 49.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.623e-06/0.3434, allocations: 1.531 kB / 0.4969 GB, free: 49.5 MB / 410.7 MB Notification: Performance of Templates: time 0.06173/0.4051, allocations: 51.59 MB / 0.5473 GB, free: 1.398 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.359141455963254]