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.0008914/0.0008914, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001091/0.001091, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 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.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2477/0.2477, allocations: 34.26 MB / 296 MB, free: 0.6992 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 1.783e-06/1.783e-06, allocations: 0 / 378 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.918e-05, allocations: 2.312 kB / 378 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03381/0.03384, allocations: 40.21 MB / 418.3 MB, free: 10.59 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01789/0.05173, allocations: 20.14 MB / 438.4 MB, free: 6.375 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006985/0.05243, allocations: 31.69 kB / 438.4 MB, free: 6.344 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000955/0.05338, allocations: 409.3 kB / 438.8 MB, free: 5.941 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01022/0.0636, allocations: 5.189 MB / 444 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1653/0.2289, allocations: 2.588 MB / 446.6 MB, free: 49.28 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002165/0.2311, allocations: 2.039 MB / 448.6 MB, free: 49.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006581/0.2317, allocations: 455.3 kB / 449.1 MB, free: 49.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00617/0.2379, allocations: 4.443 MB / 453.5 MB, free: 47.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006601/0.2445, allocations: 5.44 MB / 459 MB, free: 46.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002156/0.2447, allocations: 71.41 kB / 459 MB, free: 46.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0102/0.2549, allocations: 7.067 MB / 466.1 MB, free: 46.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005289/0.2554, allocations: 310.2 kB / 466.4 MB, free: 46.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006473/0.2561, allocations: 334.2 kB / 466.7 MB, free: 46.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01205/0.2681, allocations: 5.917 MB / 472.7 MB, free: 46.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.872e-06/0.2682, allocations: 0 / 472.7 MB, free: 46.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2682, allocations: 0 / 472.7 MB, free: 46.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.298e-05/0.2682, allocations: 0 / 472.7 MB, free: 46.2 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.004932/0.2731, allocations: 1.732 MB / 474.4 MB, free: 45.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.2732, allocations: 9.75 kB / 474.4 MB, free: 45.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/0.2749, allocations: 441.7 kB / 474.8 MB, free: 45.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007769/0.2756, allocations: 0.5274 MB / 475.4 MB, free: 44.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.2758, allocations: 162.9 kB / 475.5 MB, free: 44.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.732e-05/0.2758, allocations: 71.67 kB / 475.6 MB, free: 44.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.2773, allocations: 1.318 MB / 476.9 MB, free: 43.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.2773, allocations: 3.469 kB / 476.9 MB, free: 43.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.817e-05/0.2774, allocations: 35.88 kB / 476.9 MB, free: 43.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.055e-05/0.2774, allocations: 44.5 kB / 477 MB, free: 43.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009187/0.2783, allocations: 499.4 kB / 477.5 MB, free: 43.96 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.003299/0.2816, allocations: 5.326 MB / 482.8 MB, free: 40 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007269/0.2824, allocations: 420 kB / 483.2 MB, free: 39.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.2825, allocations: 118.3 kB / 483.3 MB, free: 39.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05575/0.3383, allocations: 26.09 MB / 0.4975 GB, free: 35.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.501e-05/0.3383, allocations: 41.39 kB / 0.4975 GB, free: 35.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 2.806e-06/0.3383, allocations: 0 / 0.4975 GB, free: 35.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.007162/0.3455, allocations: 1.471 MB / 0.499 GB, free: 34.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.3455, allocations: 158.2 kB / 0.4991 GB, free: 33.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004547/0.346, allocations: 0.5609 MB / 0.4997 GB, free: 33.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.346, allocations: 33.7 kB / 0.4997 GB, free: 33.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003257/0.3493, allocations: 467.2 kB / 0.5001 GB, free: 32.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.3494, allocations: 178.4 kB / 0.5003 GB, free: 32.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.3496, allocations: 164.2 kB / 0.5005 GB, free: 32.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.066e-05/0.3497, allocations: 0.5508 MB / 0.501 GB, free: 31.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.3499, allocations: 93.94 kB / 0.5011 GB, free: 31.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/0.3502, allocations: 0.6722 MB / 0.5017 GB, free: 30.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005871/0.3508, allocations: 0.7424 MB / 0.5025 GB, free: 30.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3508, allocations: 8 kB / 0.5025 GB, free: 30 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0009328/0.3517, allocations: 0.6626 MB / 0.5031 GB, free: 29.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.3518, allocations: 8 kB / 0.5031 GB, free: 29.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.3518, allocations: 12 kB / 0.5031 GB, free: 29.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003269/0.355, allocations: 39.67 kB / 0.5032 GB, free: 29.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008356/0.3559, allocations: 281 kB / 0.5034 GB, free: 29.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009369/0.3568, allocations: 2.642 MB / 0.506 GB, free: 26.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004133/0.3572, allocations: 28 kB / 0.506 GB, free: 26.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/0.3573, allocations: 40 kB / 0.5061 GB, free: 26.24 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.000227/0.3575, allocations: 224.5 kB / 0.5063 GB, free: 26.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.3576, allocations: 82.66 kB / 0.5064 GB, free: 25.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004356/0.362, allocations: 1.423 MB / 0.5078 GB, free: 24.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.181e-05/0.362, allocations: 31.95 kB / 0.5078 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.362, allocations: 0 / 0.5078 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.362, allocations: 3.984 kB / 0.5078 GB, free: 24.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005177/0.3672, allocations: 2.072 MB / 0.5098 GB, free: 22.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.3672, allocations: 0 / 0.5098 GB, free: 22.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005171/0.3677, allocations: 182.8 kB / 0.51 GB, free: 22.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002324/0.368, allocations: 63.14 kB / 0.5101 GB, free: 22.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.368, allocations: 12 kB / 0.5101 GB, free: 22.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009768/0.369, allocations: 2.615 MB / 0.5126 GB, free: 19.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.369, allocations: 192 / 0.5126 GB, free: 19.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.3705, allocations: 1.309 MB / 0.5139 GB, free: 18.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000338/0.3709, allocations: 170.9 kB / 0.5141 GB, free: 17.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.865e-05/0.371, allocations: 23.2 kB / 0.5141 GB, free: 17.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003953/0.3714, allocations: 23.98 kB / 0.5141 GB, free: 17.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.671e-05/0.3715, allocations: 36.44 kB / 0.5141 GB, free: 17.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/0.3715, allocations: 19.98 kB / 0.5142 GB, free: 17.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004943/0.372, allocations: 423 kB / 0.5146 GB, free: 17.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.372, allocations: 0 / 0.5146 GB, free: 17.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004546/0.3765, allocations: 1.104 MB / 0.5156 GB, free: 16.27 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.005322/0.3819, allocations: 1.345 MB / 0.517 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.3831, allocations: 0.6001 MB / 0.5175 GB, free: 14.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.3831, allocations: 0 / 0.5175 GB, free: 14.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005345/0.3836, allocations: 415 kB / 0.5179 GB, free: 14.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.3847, allocations: 359.1 kB / 0.5183 GB, free: 13.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.3872, allocations: 1.938 MB / 0.5202 GB, free: 11.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.3873, allocations: 246.5 kB / 0.5204 GB, free: 11.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005126/0.3878, allocations: 418.8 kB / 0.5208 GB, free: 11.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.422e-05/0.3879, allocations: 67.48 kB / 0.5209 GB, free: 11.08 MB / 410.7 MB Notification: Performance of SimCode: time 1.953e-06/0.3879, allocations: 4 kB / 0.5209 GB, free: 11.07 MB / 410.7 MB Notification: Performance of Templates: time 0.04396/0.4319, allocations: 45.87 MB / 0.5657 GB, free: 13.61 MB / 458.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.351541500072926]