Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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.00161/0.00161, allocations: 83.16 kB / 22 MB, free: 5.18 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.001554/0.001554, allocations: 161.4 kB / 25.25 MB, free: 3.027 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.326/1.326, allocations: 158.6 MB / 187 MB, free: 6.242 MB / 174.1 MB " [Timeout remaining time 179] 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.WaterIF97_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.WaterIF97_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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.WaterIF97_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.001778/0.001778, allocations: 55.92 kB / 299.4 MB, free: 6.805 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2215, allocations: 49.14 MB / 348.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03591/0.2574, allocations: 29.83 MB / 378.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01893/0.2764, allocations: 14.01 MB / 392.4 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003419/0.2767, allocations: 7.938 kB / 392.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009147/0.2776, allocations: 238.5 kB / 392.6 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008452/0.2785, allocations: 373.9 kB / 393 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01556/0.294, allocations: 5.71 MB / 398.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001467/0.2955, allocations: 1.013 MB / 399.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002518/0.2958, allocations: 77.17 kB / 399.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005532/0.3013, allocations: 2.197 MB / 402 MB, free: 9.859 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005899/0.3019, allocations: 310.7 kB / 402.3 MB, free: 9.555 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.485e-05/0.3019, allocations: 40 kB / 402.3 MB, free: 9.516 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01165/0.3136, allocations: 5.83 MB / 408.2 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.3138, allocations: 111.7 kB / 408.3 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003374/0.3141, allocations: 195.4 kB / 408.5 MB, free: 3.379 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006554/0.3207, allocations: 3.784 MB / 412.3 MB, free: 15.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3207, allocations: 0 / 412.3 MB, free: 15.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3207, allocations: 4 kB / 412.3 MB, free: 15.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.3207, allocations: 0 / 412.3 MB, free: 15.58 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.002114/0.3228, allocations: 0.9667 MB / 413.2 MB, free: 14.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.3228, allocations: 11.98 kB / 413.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.3242, allocations: 148.6 kB / 413.4 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005732/0.3247, allocations: 265.9 kB / 413.6 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.312e-05/0.3248, allocations: 29.03 kB / 413.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.984e-05/0.3248, allocations: 32.38 kB / 413.7 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.3265, allocations: 0.6971 MB / 414.4 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.3265, allocations: 4 kB / 414.4 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.856e-05/0.3265, allocations: 12 kB / 414.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.485e-06/0.3265, allocations: 12 kB / 414.4 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.3281, allocations: 0.5019 MB / 414.9 MB, free: 12.78 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.002875/0.331, allocations: 1.727 MB / 416.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.3325, allocations: 434.3 kB / 417.1 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004439/0.333, allocations: 156.8 kB / 417.2 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006589/0.3336, allocations: 187.8 kB / 417.4 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.3337, allocations: 38.56 kB / 417.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/0.3337, allocations: 0 / 417.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.004819/0.3385, allocations: 1.351 MB / 418.8 MB, free: 8.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.3385, allocations: 59.34 kB / 418.9 MB, free: 8.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.3388, allocations: 223.1 kB / 419.1 MB, free: 8.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.249e-05/0.3389, allocations: 33.7 kB / 419.1 MB, free: 8.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.339, allocations: 184.4 kB / 419.3 MB, free: 8.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.3391, allocations: 130.9 kB / 419.4 MB, free: 8.117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.3392, allocations: 74.19 kB / 419.5 MB, free: 8.039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3394, allocations: 338.8 kB / 419.8 MB, free: 7.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.3398, allocations: 136.9 kB / 420 MB, free: 7.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004813/0.3403, allocations: 244 kB / 420.2 MB, free: 7.285 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008868/0.3412, allocations: 394.8 kB / 420.6 MB, free: 6.859 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3412, allocations: 0 / 420.6 MB, free: 6.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001355/0.3425, allocations: 0.5076 MB / 421.1 MB, free: 6.336 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3426, allocations: 8 kB / 421.1 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3426, allocations: 4 kB / 421.1 MB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005158/0.3431, allocations: 106.4 kB / 421.2 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/0.3435, allocations: 91.83 kB / 421.3 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002309/0.3458, allocations: 2.382 MB / 423.7 MB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.3461, allocations: 28.31 kB / 423.7 MB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.596e-05/0.3461, allocations: 23.98 kB / 423.7 MB, free: 3.539 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (fixedMassFlowRate.medium.phase,volume.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002269/0.3463, allocations: 157.7 kB / 423.9 MB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.127e-05/0.3464, allocations: 35.78 kB / 423.9 MB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/0.3486, allocations: 1.37 MB / 425.3 MB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3e-05/0.3486, allocations: 19.97 kB / 425.3 MB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.3486, allocations: 0 / 425.3 MB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001985/0.3506, allocations: 1.466 MB / 426.8 MB, free: 388 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002954/0.3536, allocations: 1.958 MB / 428.7 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.3536, allocations: 0 / 428.7 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004311/0.354, allocations: 95.86 kB / 428.8 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003363/0.3543, allocations: 72.8 kB / 428.9 MB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.3544, allocations: 4 kB / 428.9 MB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004577/0.3548, allocations: 0.603 MB / 429.5 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.3548, allocations: 7.922 kB / 429.5 MB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.3569, allocations: 1.307 MB / 430.8 MB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.2e-05/0.357, allocations: 47.56 kB / 430.9 MB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.585e-05/0.357, allocations: 23.91 kB / 430.9 MB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.3573, allocations: 31.91 kB / 430.9 MB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.3574, allocations: 43.81 kB / 431 MB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-05/0.3575, allocations: 15.98 kB / 431 MB, free: 12.08 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002574/0.3577, allocations: 211.1 kB / 431.2 MB, free: 11.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3577, allocations: 3.938 kB / 431.2 MB, free: 11.87 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002639/0.3603, allocations: 0.8579 MB / 432 MB, free: 11.01 MB / 398.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: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.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 (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.003831/0.3642, allocations: 0.9776 MB / 433 MB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.3656, allocations: 0.6342 MB / 433.7 MB, free: 9.379 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.3656, allocations: 4 kB / 433.7 MB, free: 9.375 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007118/0.3663, allocations: 386.7 kB / 434 MB, free: 9 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.3673, allocations: 164.3 kB / 434.2 MB, free: 8.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.3696, allocations: 1.271 MB / 435.5 MB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.3699, allocations: 284.9 kB / 435.7 MB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000339/0.3702, allocations: 146.7 kB / 435.9 MB, free: 7.086 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.338e-05/0.3703, allocations: 32.5 kB / 435.9 MB, free: 7.055 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3703, allocations: 0 / 435.9 MB, free: 7.055 MB / 398.1 MB Notification: Performance of Templates: time 0.05299/0.4233, allocations: 35.18 MB / 471.1 MB, free: 3.816 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.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: 7.111604001955129]