Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001003/0.001003, allocations: 75.75 kB / 21.69 MB, free: 2.859 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.001026/0.001026, allocations: 164.7 kB / 24.99 MB, free: 8.844 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.9241/0.9241, allocations: 177.1 MB / 205.3 MB, free: 5.598 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.2493/0.2493, allocations: 32.8 MB / 294.6 MB, free: 1.293 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_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.h|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.647e-05, allocations: 2.312 kB / 376 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.03104/0.03107, allocations: 40.21 MB / 416.2 MB, free: 12.62 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01822/0.04929, allocations: 20.13 MB / 436.4 MB, free: 8.414 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006276/0.04992, allocations: 31.69 kB / 436.4 MB, free: 8.383 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.05095, allocations: 413.3 kB / 436.8 MB, free: 7.977 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01016/0.06111, allocations: 5.197 MB / 442 MB, free: 2.758 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005349/0.06646, allocations: 2.582 MB / 444.6 MB, free: 168 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1666/0.233, allocations: 2.018 MB / 446.6 MB, free: 50.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.2343, allocations: 452.9 kB / 447 MB, free: 50.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007731/0.2421, allocations: 4.436 MB / 451.5 MB, free: 49.76 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006331/0.2484, allocations: 5.445 MB / 456.9 MB, free: 48.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.2486, allocations: 70.59 kB / 457 MB, free: 48.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009228/0.2578, allocations: 7.066 MB / 464.1 MB, free: 48.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003768/0.2582, allocations: 310.8 kB / 464.4 MB, free: 48.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005614/0.2587, allocations: 328.7 kB / 464.7 MB, free: 48.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009124/0.2679, allocations: 5.899 MB / 470.6 MB, free: 48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2679, allocations: 4 kB / 470.6 MB, free: 48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2679, allocations: 0 / 470.6 MB, free: 48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.577e-05/0.2679, allocations: 3.062 kB / 470.6 MB, free: 48 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.003853/0.2717, allocations: 1.736 MB / 472.3 MB, free: 47.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.2718, allocations: 9.125 kB / 472.3 MB, free: 47.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.2733, allocations: 453.4 kB / 472.8 MB, free: 46.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007039/0.2741, allocations: 0.5284 MB / 473.3 MB, free: 46.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.2742, allocations: 166.3 kB / 473.5 MB, free: 46.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-05/0.2743, allocations: 72.08 kB / 473.5 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.2758, allocations: 1.323 MB / 474.9 MB, free: 45.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.2758, allocations: 3.375 kB / 474.9 MB, free: 45.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-05/0.2759, allocations: 34.03 kB / 474.9 MB, free: 45.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.403e-05/0.2759, allocations: 41.38 kB / 474.9 MB, free: 45.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.2772, allocations: 0.6178 MB / 475.6 MB, free: 45.86 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.0037/0.2809, allocations: 5.398 MB / 481 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.2822, allocations: 0.5714 MB / 481.5 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.2825, allocations: 139.2 kB / 481.7 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01696/0.2994, allocations: 8.7 MB / 490.4 MB, free: 41.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.2995, allocations: 43.11 kB / 490.4 MB, free: 41.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 2.715e-06/0.2995, allocations: 0 / 490.4 MB, free: 41.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.003475/0.3029, allocations: 1.716 MB / 492.1 MB, free: 40.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.303, allocations: 160 kB / 492.3 MB, free: 40.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004054/0.3034, allocations: 0.5489 MB / 492.8 MB, free: 40.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.3034, allocations: 36.92 kB / 492.9 MB, free: 40.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.3036, allocations: 461.3 kB / 493.3 MB, free: 39.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.403e-05/0.3037, allocations: 177.7 kB / 493.5 MB, free: 39.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.3038, allocations: 169.7 kB / 493.7 MB, free: 39.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.51e-05/0.3039, allocations: 0.5487 MB / 494.2 MB, free: 39.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.3041, allocations: 134 kB / 494.3 MB, free: 39.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/0.3044, allocations: 0.6761 MB / 495 MB, free: 38.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005381/0.3049, allocations: 0.7821 MB / 495.8 MB, free: 38.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.3049, allocations: 3.031 kB / 495.8 MB, free: 38.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0007538/0.3057, allocations: 0.7114 MB / 496.5 MB, free: 37.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3057, allocations: 9.344 kB / 496.5 MB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.3057, allocations: 16.72 kB / 496.5 MB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001883/0.3059, allocations: 52.39 kB / 496.6 MB, free: 37.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/0.3065, allocations: 279.7 kB / 496.9 MB, free: 37.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007291/0.3072, allocations: 2.635 MB / 499.5 MB, free: 35.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002697/0.3075, allocations: 42.31 kB / 499.5 MB, free: 35.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/0.3075, allocations: 46.8 kB / 499.6 MB, free: 35.31 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.000168/0.3077, allocations: 226.7 kB / 499.8 MB, free: 35.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.202e-05/0.3078, allocations: 82.75 kB / 499.9 MB, free: 35.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.309, allocations: 1.669 MB / 0.4898 GB, free: 34.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/0.309, allocations: 35.45 kB / 0.4898 GB, free: 34.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-06/0.309, allocations: 0 / 0.4898 GB, free: 34.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.309, allocations: 11.67 kB / 0.4898 GB, free: 34.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.3108, allocations: 2.32 MB / 0.4921 GB, free: 33.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.3108, allocations: 0 / 0.4921 GB, free: 33.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004838/0.3113, allocations: 207.9 kB / 0.4923 GB, free: 33.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001864/0.3115, allocations: 47.77 kB / 0.4923 GB, free: 33.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.3115, allocations: 19.91 kB / 0.4924 GB, free: 33.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005637/0.3121, allocations: 2.618 MB / 0.4949 GB, free: 31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3121, allocations: 3.938 kB / 0.4949 GB, free: 31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.3132, allocations: 1.478 MB / 0.4964 GB, free: 30.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.3133, allocations: 173.7 kB / 0.4965 GB, free: 30.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.248e-05/0.3134, allocations: 29.72 kB / 0.4966 GB, free: 30.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.3136, allocations: 25.41 kB / 0.4966 GB, free: 30.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.472e-05/0.3137, allocations: 56.77 kB / 0.4966 GB, free: 30.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.3137, allocations: 18.75 kB / 0.4967 GB, free: 30.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002934/0.314, allocations: 462 kB / 0.4971 GB, free: 30.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.314, allocations: 0 / 0.4971 GB, free: 30.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00241/0.3164, allocations: 1.107 MB / 0.4982 GB, free: 29.89 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.003032/0.3194, allocations: 1.355 MB / 0.4995 GB, free: 29.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.3206, allocations: 0.6775 MB / 0.5002 GB, free: 29.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.3206, allocations: 2.656 kB / 0.5002 GB, free: 29.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006239/0.3212, allocations: 479.4 kB / 0.5006 GB, free: 29.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.3223, allocations: 376.6 kB / 0.501 GB, free: 29.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.3249, allocations: 2.135 MB / 0.5031 GB, free: 28.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.3251, allocations: 278.6 kB / 0.5033 GB, free: 28.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005593/0.3256, allocations: 411 kB / 0.5037 GB, free: 28.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.3258, allocations: 65.64 kB / 0.5038 GB, free: 28.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.754e-06/0.3258, allocations: 0 / 0.5038 GB, free: 28.12 MB / 410.7 MB Notification: Performance of Templates: time 0.04245/0.3682, allocations: 46.97 MB / 0.5497 GB, free: 304 kB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.4483264840673655]