Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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.0009346/0.0009346, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.0009746/0.0009746, allocations: 165.4 kB / 24.99 MB, free: 9.316 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 0.974/0.974, allocations: 177.1 MB / 205.3 MB, free: 5.613 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.2867/0.2867, allocations: 34.26 MB / 296 MB, free: 0.707 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.WaterIF97_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.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.796e-06/2.796e-06, allocations: 0 / 378 MB, free: 2.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.516e-05/3.795e-05, allocations: 2.312 kB / 378 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.03488/0.03492, allocations: 40.21 MB / 418.3 MB, free: 10.56 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01819/0.05311, allocations: 20.14 MB / 438.4 MB, free: 6.355 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008955/0.054, allocations: 27.75 kB / 438.4 MB, free: 6.328 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.05522, allocations: 421.2 kB / 438.8 MB, free: 5.914 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01258/0.0678, allocations: 5.189 MB / 444 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2064/0.2742, allocations: 2.583 MB / 446.6 MB, free: 49.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002149/0.2764, allocations: 2.031 MB / 448.6 MB, free: 48.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004928/0.2768, allocations: 445.2 kB / 449.1 MB, free: 48.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006051/0.2829, allocations: 4.438 MB / 453.5 MB, free: 47.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00645/0.2894, allocations: 5.444 MB / 459 MB, free: 46.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.2895, allocations: 73.06 kB / 459 MB, free: 46.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009865/0.2994, allocations: 7.068 MB / 466.1 MB, free: 46.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000416/0.2998, allocations: 310.4 kB / 466.4 MB, free: 46.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000788/0.3006, allocations: 325.2 kB / 466.7 MB, free: 46.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.013/0.3136, allocations: 5.9 MB / 472.6 MB, free: 46.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3136, allocations: 0 / 472.6 MB, free: 46.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3136, allocations: 0 / 472.6 MB, free: 46.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.3136, allocations: 0 / 472.6 MB, free: 46.09 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.003506/0.3171, allocations: 1.743 MB / 474.4 MB, free: 45.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3172, allocations: 9.281 kB / 474.4 MB, free: 45.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.3185, allocations: 453 kB / 474.8 MB, free: 45.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006643/0.3192, allocations: 0.5257 MB / 475.3 MB, free: 44.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.3193, allocations: 169.3 kB / 475.5 MB, free: 44.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.233e-05/0.3194, allocations: 60 kB / 475.6 MB, free: 44.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001879/0.3213, allocations: 1.324 MB / 476.9 MB, free: 43.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.3213, allocations: 10.12 kB / 476.9 MB, free: 43.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.944e-05/0.3214, allocations: 30.81 kB / 476.9 MB, free: 43.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.984e-05/0.3214, allocations: 44.28 kB / 477 MB, free: 43.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.323, allocations: 0.6198 MB / 477.6 MB, free: 43.95 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.003832/0.3268, allocations: 5.394 MB / 483 MB, free: 39.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.3283, allocations: 0.5747 MB / 483.6 MB, free: 39.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002461/0.3286, allocations: 134 kB / 483.7 MB, free: 39.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02119/0.3498, allocations: 8.706 MB / 492.4 MB, free: 39.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.08e-05/0.3498, allocations: 42.8 kB / 492.4 MB, free: 39.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 3.266e-06/0.3498, allocations: 4 kB / 492.4 MB, free: 39.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.004547/0.3544, allocations: 1.707 MB / 494.1 MB, free: 38.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.3544, allocations: 166 kB / 494.3 MB, free: 38.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005021/0.3549, allocations: 0.555 MB / 494.9 MB, free: 38.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.355, allocations: 33.27 kB / 494.9 MB, free: 38.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.3551, allocations: 450.6 kB / 495.3 MB, free: 37.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.3552, allocations: 184.1 kB / 495.5 MB, free: 37.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.3554, allocations: 170 kB / 495.7 MB, free: 37.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.842e-05/0.3555, allocations: 0.5473 MB / 496.2 MB, free: 37.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.3558, allocations: 134.7 kB / 496.4 MB, free: 37.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004024/0.3562, allocations: 0.683 MB / 497 MB, free: 36.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006834/0.3569, allocations: 0.7776 MB / 497.8 MB, free: 35.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.3569, allocations: 3.375 kB / 497.8 MB, free: 35.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0009968/0.3579, allocations: 0.7133 MB / 498.5 MB, free: 35.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.3579, allocations: 8.656 kB / 498.5 MB, free: 35.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.3579, allocations: 10.31 kB / 498.5 MB, free: 35.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002321/0.3581, allocations: 55.7 kB / 498.6 MB, free: 35.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008333/0.359, allocations: 289.2 kB / 498.9 MB, free: 35.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009193/0.3599, allocations: 2.625 MB / 0.4898 GB, free: 32.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004101/0.3603, allocations: 44.84 kB / 0.4898 GB, free: 32.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.946e-05/0.3603, allocations: 43.98 kB / 0.4898 GB, free: 32.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].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.000222/0.3606, allocations: 216 kB / 0.49 GB, free: 32.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.3607, allocations: 86.16 kB / 0.4901 GB, free: 32.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/0.3623, allocations: 1.667 MB / 0.4918 GB, free: 31.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/0.3623, allocations: 33.64 kB / 0.4918 GB, free: 31.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.3623, allocations: 0 / 0.4918 GB, free: 31.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.3623, allocations: 7.875 kB / 0.4918 GB, free: 31.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/0.3647, allocations: 2.325 MB / 0.4941 GB, free: 31.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3647, allocations: 0 / 0.4941 GB, free: 31.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006466/0.3653, allocations: 207.2 kB / 0.4943 GB, free: 31.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002432/0.3656, allocations: 57.19 kB / 0.4943 GB, free: 31.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/0.3656, allocations: 19.09 kB / 0.4943 GB, free: 31.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007549/0.3663, allocations: 2.614 MB / 0.4969 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.3663, allocations: 4.125 kB / 0.4969 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.3678, allocations: 1.476 MB / 0.4983 GB, free: 27.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002289/0.368, allocations: 175.9 kB / 0.4985 GB, free: 27.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.538e-05/0.3681, allocations: 36.94 kB / 0.4985 GB, free: 27.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/0.3684, allocations: 19.36 kB / 0.4986 GB, free: 27.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.3685, allocations: 61.55 kB / 0.4986 GB, free: 27.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.3685, allocations: 26.5 kB / 0.4986 GB, free: 27.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004159/0.3689, allocations: 458.6 kB / 0.4991 GB, free: 27.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3689, allocations: 0 / 0.4991 GB, free: 27.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003227/0.3722, allocations: 1.101 MB / 0.5002 GB, free: 27.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: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.00385/0.376, allocations: 1.358 MB / 0.5015 GB, free: 26.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.3777, allocations: 0.6771 MB / 0.5021 GB, free: 26.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.3777, allocations: 3.875 kB / 0.5021 GB, free: 26.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009732/0.3787, allocations: 473.8 kB / 0.5026 GB, free: 26.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.3801, allocations: 386.2 kB / 0.503 GB, free: 26.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003067/0.3832, allocations: 2.125 MB / 0.505 GB, free: 25.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.3834, allocations: 274.7 kB / 0.5053 GB, free: 25.53 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005659/0.384, allocations: 419.7 kB / 0.5057 GB, free: 25.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.3841, allocations: 61.16 kB / 0.5058 GB, free: 25.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.663e-06/0.3841, allocations: 0 / 0.5058 GB, free: 25.48 MB / 410.7 MB Notification: Performance of Templates: time 0.04698/0.4311, allocations: 46.97 MB / 0.5516 GB, free: 11.98 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_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.342784511856735]