Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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.001325/0.001325, allocations: 84.88 kB / 22 MB, free: 4.754 MB / 14.72 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.001389/0.001389, allocations: 153.8 kB / 25.24 MB, free: 2.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 158.6 MB / 187 MB, free: 6.34 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 59.92 kB / 299.4 MB, free: 6.828 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2436, allocations: 49.14 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03702/0.2806, allocations: 29.85 MB / 378.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01919/0.2998, allocations: 14 MB / 392.4 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002992/0.3001, allocations: 7.938 kB / 392.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000859/0.301, allocations: 238.5 kB / 392.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007714/0.3018, allocations: 369.9 kB / 393 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01658/0.3183, allocations: 5.713 MB / 398.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001526/0.3199, allocations: 1.025 MB / 399.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.3201, allocations: 81.17 kB / 399.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00564/0.3257, allocations: 2.193 MB / 402 MB, free: 9.867 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005577/0.3263, allocations: 302.8 kB / 402.3 MB, free: 9.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.686e-05/0.3264, allocations: 40 kB / 402.3 MB, free: 9.531 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01197/0.3383, allocations: 5.834 MB / 408.2 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002852/0.3386, allocations: 115.6 kB / 408.3 MB, free: 3.578 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004282/0.339, allocations: 195.4 kB / 408.5 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007395/0.3464, allocations: 3.804 MB / 412.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3464, allocations: 0 / 412.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.35e-06/0.3465, allocations: 4 kB / 412.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.3465, allocations: 0 / 412.3 MB, free: 15.57 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001797/0.3483, allocations: 0.9433 MB / 413.2 MB, free: 14.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3483, allocations: 11.98 kB / 413.2 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.3496, allocations: 148.6 kB / 413.4 MB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005062/0.3501, allocations: 265.9 kB / 413.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.3501, allocations: 25.03 kB / 413.7 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.318e-05/0.3501, allocations: 32.38 kB / 413.7 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.3516, allocations: 0.7412 MB / 414.4 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.3516, allocations: 7.922 kB / 414.4 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.989e-05/0.3516, allocations: 12 kB / 414.5 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.3516, allocations: 8 kB / 414.5 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006373/0.3523, allocations: 322.3 kB / 414.8 MB, free: 12.92 MB / 382.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.002653/0.3549, allocations: 1.685 MB / 416.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006185/0.3555, allocations: 258.8 kB / 416.7 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.3557, allocations: 108.8 kB / 416.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0767/0.4324, allocations: 16.83 MB / 433.7 MB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/0.4325, allocations: 42.44 kB / 433.7 MB, free: 9.891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.783e-06/0.4325, allocations: 0 / 433.7 MB, free: 9.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.003531/0.436, allocations: 1.057 MB / 434.8 MB, free: 8.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.4361, allocations: 59.39 kB / 434.8 MB, free: 8.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.4363, allocations: 231 kB / 435 MB, free: 8.488 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.4364, allocations: 29.7 kB / 435.1 MB, free: 8.453 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.4365, allocations: 196.3 kB / 435.3 MB, free: 8.254 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.294e-05/0.4366, allocations: 115 kB / 435.4 MB, free: 8.141 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.4367, allocations: 78.14 kB / 435.4 MB, free: 8.055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.4369, allocations: 338.8 kB / 435.8 MB, free: 7.715 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.4371, allocations: 96.89 kB / 435.9 MB, free: 7.621 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.4374, allocations: 215.5 kB / 436.1 MB, free: 7.359 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000507/0.4379, allocations: 342.3 kB / 436.4 MB, free: 6.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.4379, allocations: 11.88 kB / 436.4 MB, free: 6.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007679/0.4387, allocations: 407.2 kB / 436.8 MB, free: 6.551 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.4387, allocations: 8.031 kB / 436.8 MB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.4387, allocations: 11.94 kB / 436.8 MB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002881/0.439, allocations: 57.69 kB / 436.9 MB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.4394, allocations: 87.89 kB / 437 MB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/0.4413, allocations: 2.399 MB / 439.4 MB, free: 3.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.4415, allocations: 16 kB / 439.4 MB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.4415, allocations: 15.94 kB / 439.4 MB, free: 3.805 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002022/0.4417, allocations: 169.6 kB / 439.6 MB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.205e-05/0.4418, allocations: 27.86 kB / 439.6 MB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.443, allocations: 0.8985 MB / 440.5 MB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.147e-05/0.4431, allocations: 11.98 kB / 440.5 MB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.4431, allocations: 96 / 440.5 MB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001119/0.4442, allocations: 1.081 MB / 441.6 MB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.4459, allocations: 1.336 MB / 442.9 MB, free: 128 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.4459, allocations: 4 kB / 442.9 MB, free: 124 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.4461, allocations: 55.91 kB / 443 MB, free: 68 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003299/0.4465, allocations: 72.81 kB / 443.1 MB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.4465, allocations: 15.86 kB / 443.1 MB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004608/0.447, allocations: 0.5954 MB / 443.7 MB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.447, allocations: 0 / 443.7 MB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.4481, allocations: 0.8429 MB / 444.5 MB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.4481, allocations: 35.72 kB / 444.6 MB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.4482, allocations: 11.94 kB / 444.6 MB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.4485, allocations: 19.98 kB / 444.6 MB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.4485, allocations: 23.95 kB / 444.6 MB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/0.4485, allocations: 15.98 kB / 444.6 MB, free: 14.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002389/0.4488, allocations: 213.4 kB / 444.8 MB, free: 14.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4488, allocations: 0 / 444.8 MB, free: 14.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002407/0.4512, allocations: 0.8657 MB / 445.7 MB, free: 13.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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.003145/0.4543, allocations: 0.9736 MB / 446.7 MB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009902/0.4553, allocations: 479.5 kB / 447.1 MB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4553, allocations: 4 kB / 447.1 MB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003822/0.4557, allocations: 240.3 kB / 447.4 MB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009049/0.4566, allocations: 161.6 kB / 447.5 MB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.4582, allocations: 0.9885 MB / 448.5 MB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.4585, allocations: 221.1 kB / 448.7 MB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003627/0.4588, allocations: 186.7 kB / 448.9 MB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.119e-05/0.4589, allocations: 36.44 kB / 449 MB, free: 9.98 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4589, allocations: 0 / 449 MB, free: 9.98 MB / 414.1 MB Notification: Performance of Templates: time 0.223/0.6819, allocations: 34.21 MB / 483.2 MB, free: 116.1 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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: 7.133855090010911]