Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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.001353/0.001353, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001503/0.001503, allocations: 158.6 kB / 24.91 MB, free: 8.719 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.04/1.04, allocations: 177 MB / 205.2 MB, free: 5.016 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.266/0.266, allocations: 34.85 MB / 296.6 MB, free: 388 kB / 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.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 325.9 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.835e-05, allocations: 6.656 kB / 325.9 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.01885/0.01888, allocations: 16.74 MB / 342.7 MB, free: 6.297 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01286/0.03174, allocations: 13.99 MB / 356.7 MB, free: 8.258 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005878/0.03233, allocations: 27.75 kB / 356.7 MB, free: 8.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005891/0.03292, allocations: 246.4 kB / 356.9 MB, free: 7.988 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0105/0.04342, allocations: 4.984 MB / 361.9 MB, free: 2.984 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004116/0.04753, allocations: 1.966 MB / 363.9 MB, free: 1.012 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002389/0.04992, allocations: 2.051 MB / 365.9 MB, free: 14.95 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007614/0.05068, allocations: 458 kB / 366.4 MB, free: 14.48 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009716/0.0604, allocations: 7.661 MB / 374 MB, free: 6.711 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002757/0.06316, allocations: 2.178 MB / 376.2 MB, free: 4.504 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.06329, allocations: 68 kB / 376.3 MB, free: 4.438 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00894/0.07223, allocations: 6.786 MB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003657/0.0726, allocations: 303.1 kB / 383.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004842/0.07308, allocations: 327.3 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009446/0.08253, allocations: 5.62 MB / 389.3 MB, free: 7.395 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.08254, allocations: 4 kB / 389.3 MB, free: 7.391 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.08254, allocations: 0 / 389.3 MB, free: 7.391 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.08255, allocations: 0 / 389.3 MB, free: 7.391 MB / 362.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.002932/0.08548, allocations: 1.528 MB / 390.8 MB, free: 5.832 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.08552, allocations: 8.031 kB / 390.8 MB, free: 5.824 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.0867, allocations: 483.4 kB / 391.3 MB, free: 5.352 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005559/0.08725, allocations: 447.3 kB / 391.8 MB, free: 4.887 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.08736, allocations: 172.7 kB / 391.9 MB, free: 4.691 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.419e-05/0.08743, allocations: 64.38 kB / 392 MB, free: 4.629 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.08861, allocations: 1.201 MB / 393.2 MB, free: 3.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.08862, allocations: 3.938 kB / 393.2 MB, free: 3.266 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.697e-05/0.08867, allocations: 24 kB / 393.2 MB, free: 3.242 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.5e-05/0.08872, allocations: 53.22 kB / 393.3 MB, free: 3.191 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008092/0.08953, allocations: 0.5194 MB / 393.8 MB, free: 2.668 MB / 362.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.002793/0.09232, allocations: 3.69 MB / 397.5 MB, free: 14.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008908/0.09321, allocations: 0.5103 MB / 398 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.09333, allocations: 107 kB / 398.1 MB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.235/0.3283, allocations: 47.83 MB / 445.9 MB, free: 98.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.3283, allocations: 42.94 kB / 446 MB, free: 98.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 2.174e-06/0.3283, allocations: 1.75 kB / 446 MB, free: 98.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.002816/0.3312, allocations: 1.378 MB / 447.3 MB, free: 98.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.3312, allocations: 162.1 kB / 447.5 MB, free: 98.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.3315, allocations: 488.5 kB / 448 MB, free: 97.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.3315, allocations: 36.02 kB / 448 MB, free: 97.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.3316, allocations: 366.3 kB / 448.4 MB, free: 97.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.929e-05/0.3317, allocations: 179.8 kB / 448.5 MB, free: 97.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.3318, allocations: 158.7 kB / 448.7 MB, free: 97.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.477e-05/0.3319, allocations: 382.8 kB / 449.1 MB, free: 97.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.332, allocations: 94.73 kB / 449.2 MB, free: 97.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.3323, allocations: 0.5425 MB / 449.7 MB, free: 96.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.3327, allocations: 0.6206 MB / 450.3 MB, free: 96.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3327, allocations: 0 / 450.3 MB, free: 96.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0004983/0.3332, allocations: 0.5527 MB / 450.9 MB, free: 96.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3332, allocations: 10.31 kB / 450.9 MB, free: 96.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.3332, allocations: 10.47 kB / 450.9 MB, free: 96.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001407/0.3333, allocations: 40.27 kB / 450.9 MB, free: 96.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005437/0.3339, allocations: 266.1 kB / 451.2 MB, free: 96.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006051/0.3345, allocations: 1.768 MB / 453 MB, free: 94.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.3348, allocations: 42.48 kB / 453 MB, free: 94.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.3348, allocations: 34.81 kB / 453 MB, free: 94.62 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 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].phase,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]) * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001648/0.335, allocations: 179.3 kB / 453.2 MB, free: 94.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.686e-05/0.335, allocations: 58.02 kB / 453.3 MB, free: 94.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009856/0.336, allocations: 1.523 MB / 454.8 MB, free: 94.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/0.336, allocations: 36.61 kB / 454.8 MB, free: 94.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.336, allocations: 2.75 kB / 454.8 MB, free: 94.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.336, allocations: 6.875 kB / 454.8 MB, free: 94.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.3376, allocations: 1.85 MB / 456.7 MB, free: 93.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.3376, allocations: 1.969 kB / 456.7 MB, free: 93.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004193/0.338, allocations: 182.6 kB / 456.9 MB, free: 93.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001698/0.3382, allocations: 47.36 kB / 456.9 MB, free: 93.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.3382, allocations: 13.72 kB / 456.9 MB, free: 93.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005007/0.3387, allocations: 1.779 MB / 458.7 MB, free: 92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3387, allocations: 2.203 kB / 458.7 MB, free: 92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008145/0.3395, allocations: 1.196 MB / 459.9 MB, free: 91.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/0.3397, allocations: 139.1 kB / 460 MB, free: 91.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.408e-05/0.3397, allocations: 35.86 kB / 460.1 MB, free: 91.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.3399, allocations: 25.53 kB / 460.1 MB, free: 91.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.756e-05/0.34, allocations: 55.42 kB / 460.2 MB, free: 91.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.34, allocations: 14.64 kB / 460.2 MB, free: 91.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001964/0.3402, allocations: 292.3 kB / 460.5 MB, free: 91.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3402, allocations: 0 / 460.5 MB, free: 91.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002187/0.3424, allocations: 1.1 MB / 461.6 MB, free: 91.51 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.002937/0.3454, allocations: 1.374 MB / 462.9 MB, free: 91.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000898/0.3462, allocations: 0.5674 MB / 463.5 MB, free: 90.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.881e-05/0.3463, allocations: 8.5 kB / 463.5 MB, free: 90.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004797/0.3467, allocations: 378.5 kB / 463.9 MB, free: 90.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008886/0.3476, allocations: 382 kB / 464.3 MB, free: 90.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.3498, allocations: 2.105 MB / 466.4 MB, free: 88.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.3499, allocations: 270.6 kB / 466.6 MB, free: 88.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000428/0.3503, allocations: 346 kB / 467 MB, free: 88.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004456/0.3508, allocations: 304.7 kB / 467.3 MB, free: 88.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.673e-06/0.3508, allocations: 0 / 467.3 MB, free: 88.07 MB / 410.7 MB Notification: Performance of Templates: time 0.04299/0.3938, allocations: 51.46 MB / 0.5066 GB, free: 39.88 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.1535053960978985]