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.001845/0.001845, allocations: 86.02 kB / 20.68 MB, free: 1.035 MB / 14.72 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.00224/0.00224, allocations: 158.8 kB / 23.95 MB, free: 4.168 MB / 14.72 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.486/1.486, allocations: 177 MB / 204.1 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.2124/0.2124, allocations: 34.26 MB / 294.8 MB, free: 14.55 MB / 286.1 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.713e-06/1.713e-06, allocations: 0 / 442.7 MB, free: 5.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.825e-05, allocations: 4.812 kB / 442.7 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.2175/0.2176, allocations: 35.65 MB / 478.3 MB, free: 13.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02591/0.2435, allocations: 18.01 MB / 496.3 MB, free: 15.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007903/0.2443, allocations: 36.56 kB / 496.4 MB, free: 15.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.2456, allocations: 417.1 kB / 496.8 MB, free: 15.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01716/0.2628, allocations: 5.196 MB / 0.4902 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008326/0.2711, allocations: 2.602 MB / 0.4927 GB, free: 8.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003132/0.2742, allocations: 2.027 MB / 0.4947 GB, free: 6.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007727/0.275, allocations: 433.6 kB / 0.4951 GB, free: 5.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01134/0.2863, allocations: 4.426 MB / 0.4995 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01328/0.2996, allocations: 5.438 MB / 0.5048 GB, free: 11.85 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002416/0.2999, allocations: 72 kB / 0.5048 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01562/0.3155, allocations: 7.067 MB / 0.5117 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007038/0.3162, allocations: 303 kB / 0.512 GB, free: 4.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006897/0.3169, allocations: 323.3 kB / 0.5123 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01404/0.3309, allocations: 6.263 MB / 0.5185 GB, free: 13.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.257e-06/0.3309, allocations: 4 kB / 0.5185 GB, free: 13.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3309, allocations: 0 / 0.5185 GB, free: 13.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.3309, allocations: 0 / 0.5185 GB, free: 13.81 MB / 430.1 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.00493/0.3359, allocations: 1.647 MB / 0.5201 GB, free: 12.13 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.999e-05/0.3359, allocations: 8.031 kB / 0.5201 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002379/0.3383, allocations: 309.9 kB / 0.5204 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.3394, allocations: 0.5136 MB / 0.5209 GB, free: 11.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002144/0.3396, allocations: 172.7 kB / 0.521 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.3397, allocations: 56.33 kB / 0.5211 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003059/0.3428, allocations: 1.449 MB / 0.5225 GB, free: 9.426 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.3428, allocations: 3.938 kB / 0.5225 GB, free: 9.422 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.523e-05/0.3429, allocations: 31.94 kB / 0.5225 GB, free: 9.391 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-05/0.343, allocations: 41.3 kB / 0.5226 GB, free: 9.352 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002842/0.3458, allocations: 1.02 MB / 0.5236 GB, free: 8.332 MB / 430.1 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.00667/0.3525, allocations: 4.456 MB / 0.5279 GB, free: 3.723 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002579/0.3551, allocations: 0.7335 MB / 0.5286 GB, free: 2.973 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006614/0.3557, allocations: 281.5 kB / 0.5289 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04021/0.3959, allocations: 8.654 MB / 0.5374 GB, free: 10.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.663e-05/0.396, allocations: 46.5 kB / 0.5374 GB, free: 9.973 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 2.615e-06/0.396, allocations: 0 / 0.5374 GB, free: 9.973 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.01085/0.4069, allocations: 2.222 MB / 0.5396 GB, free: 7.711 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.407, allocations: 162.7 kB / 0.5397 GB, free: 7.516 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007773/0.4078, allocations: 0.5377 MB / 0.5403 GB, free: 6.969 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.187e-05/0.4078, allocations: 41.64 kB / 0.5403 GB, free: 6.922 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003293/0.4082, allocations: 400.1 kB / 0.5407 GB, free: 6.527 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.4083, allocations: 178.5 kB / 0.5408 GB, free: 6.352 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002914/0.4086, allocations: 158.5 kB / 0.541 GB, free: 6.191 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.4088, allocations: 370.8 kB / 0.5414 GB, free: 5.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006795/0.4095, allocations: 281.8 kB / 0.5416 GB, free: 5.543 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.4105, allocations: 0.6839 MB / 0.5423 GB, free: 4.691 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002072/0.4126, allocations: 0.896 MB / 0.5432 GB, free: 3.652 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.4126, allocations: 4 kB / 0.5432 GB, free: 3.648 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00291/0.4155, allocations: 0.9595 MB / 0.5441 GB, free: 2.676 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.4155, allocations: 8 kB / 0.5441 GB, free: 2.668 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.312e-05/0.4156, allocations: 12 kB / 0.5441 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004196/0.416, allocations: 64.77 kB / 0.5442 GB, free: 2.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00193/0.4179, allocations: 308 kB / 0.5445 GB, free: 2.289 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002806/0.4207, allocations: 1.941 MB / 0.5464 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009514/0.4217, allocations: 55.91 kB / 0.5464 GB, free: 168 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.4218, allocations: 44.98 kB / 0.5465 GB, free: 124 kB / 446.1 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.0005948/0.4224, allocations: 261.5 kB / 0.5467 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.4226, allocations: 67.58 kB / 0.5468 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005263/0.4279, allocations: 2.665 MB / 0.5494 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.664e-05/0.4279, allocations: 39.97 kB / 0.5494 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.4279, allocations: 7.562 kB / 0.5494 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.4279, allocations: 7.922 kB / 0.5494 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007252/0.4352, allocations: 3.569 MB / 0.5529 GB, free: 9.449 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.4352, allocations: 0 / 0.5529 GB, free: 9.449 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/0.4368, allocations: 223.7 kB / 0.5531 GB, free: 9.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005117/0.4373, allocations: 92.73 kB / 0.5532 GB, free: 9.137 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.46e-05/0.4374, allocations: 19.92 kB / 0.5532 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002627/0.44, allocations: 1.968 MB / 0.5552 GB, free: 7.027 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.44, allocations: 7.969 kB / 0.5552 GB, free: 7.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005136/0.4452, allocations: 2.399 MB / 0.5575 GB, free: 4.598 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004928/0.4457, allocations: 182.9 kB / 0.5577 GB, free: 4.418 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/0.4459, allocations: 35.73 kB / 0.5577 GB, free: 4.383 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007395/0.4466, allocations: 31.97 kB / 0.5578 GB, free: 4.352 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/0.4468, allocations: 52.34 kB / 0.5578 GB, free: 4.301 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.46e-05/0.4469, allocations: 23.92 kB / 0.5578 GB, free: 4.277 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001122/0.448, allocations: 0.5029 MB / 0.5583 GB, free: 3.777 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.448, allocations: 0 / 0.5583 GB, free: 3.777 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004687/0.4527, allocations: 1.104 MB / 0.5594 GB, free: 2.672 MB / 462.1 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.007315/0.46, allocations: 1.343 MB / 0.5607 GB, free: 1.316 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003922/0.4639, allocations: 1.1 MB / 0.5618 GB, free: 228 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.4639, allocations: 0 / 0.5618 GB, free: 228 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002528/0.4664, allocations: 0.7619 MB / 0.5625 GB, free: 15.45 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00268/0.4691, allocations: 341.3 kB / 0.5629 GB, free: 15.13 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005905/0.475, allocations: 2.432 MB / 0.5652 GB, free: 12.67 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009417/0.476, allocations: 0.5673 MB / 0.5658 GB, free: 12.07 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001271/0.4772, allocations: 434.7 kB / 0.5662 GB, free: 11.64 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/0.4775, allocations: 60.5 kB / 0.5663 GB, free: 11.59 MB / 478.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4775, allocations: 4 kB / 0.5663 GB, free: 11.58 MB / 478.1 MB Notification: Performance of Templates: time 0.07443/0.5519, allocations: 46.09 MB / 0.6113 GB, free: 13.73 MB / 0.5137 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.55232073739171]