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_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 107.8 kB / 17.16 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 194 kB / 18.08 MB, free: 5.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.1 MB / 223.9 MB, free: 12.52 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 56.33 kB / 280 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08576/0.08694, allocations: 46.62 MB / 326.6 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03553/0.1225, allocations: 33.25 MB / 359.9 MB, free: 3.508 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01839/0.1409, allocations: 16.67 MB / 376.5 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003297/0.1414, allocations: 4 kB / 376.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007721/0.1422, allocations: 234.8 kB / 376.8 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006182/0.1428, allocations: 354.2 kB / 377.1 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1902/0.333, allocations: 4.67 MB / 381.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00215/0.3352, allocations: 1.425 MB / 383.2 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.3354, allocations: 80.7 kB / 383.3 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005306/0.3407, allocations: 2.114 MB / 385.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005055/0.3413, allocations: 307.3 kB / 385.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.91e-05/0.3413, allocations: 19.67 kB / 385.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007714/0.3491, allocations: 3.512 MB / 389.2 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002866/0.3494, allocations: 90.45 kB / 389.3 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005679/0.35, allocations: 209.1 kB / 389.5 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005374/0.3554, allocations: 2.338 MB / 391.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.3554, allocations: 1.156 kB / 391.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.3554, allocations: 2.906 kB / 391.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.3554, allocations: 3.562 kB / 391.9 MB, free: 12.14 MB / 318.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.002024/0.3575, allocations: 0.8232 MB / 392.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.3575, allocations: 12.12 kB / 392.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008953/0.3584, allocations: 83.88 kB / 392.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.3588, allocations: 297.7 kB / 393.1 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.3588, allocations: 26 kB / 393.1 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.604e-05/0.3588, allocations: 30.47 kB / 393.1 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000737/0.3596, allocations: 447.8 kB / 393.6 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.3596, allocations: 0 / 393.6 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.138e-05/0.3597, allocations: 17.12 kB / 393.6 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.3597, allocations: 11.95 kB / 393.6 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006409/0.3603, allocations: 319.5 kB / 393.9 MB, free: 11.25 MB / 318.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.002594/0.3629, allocations: 2.621 MB / 396.5 MB, free: 9.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005554/0.3635, allocations: 252.1 kB / 396.8 MB, free: 9.156 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.3637, allocations: 108.9 kB / 396.9 MB, free: 9.145 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03096/0.3947, allocations: 15.47 MB / 412.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.171e-05/0.3948, allocations: 44.64 kB / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 2.836e-06/0.3948, allocations: 4 kB / 412.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.004579/0.3994, allocations: 1.302 MB / 413.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.3995, allocations: 54.34 kB / 413.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.3998, allocations: 268.1 kB / 414 MB, free: 12.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.3999, allocations: 29.27 kB / 414.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.4, allocations: 203.2 kB / 414.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.4001, allocations: 110.3 kB / 414.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.4002, allocations: 83.53 kB / 414.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.4004, allocations: 339.9 kB / 414.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.4005, allocations: 98.3 kB / 414.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.4008, allocations: 221.2 kB / 415.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004822/0.4013, allocations: 353 kB / 415.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.4013, allocations: 2.406 kB / 415.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000697/0.402, allocations: 435.9 kB / 415.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.4021, allocations: 10.2 kB / 415.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4021, allocations: 2.25 kB / 415.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003382/0.4055, allocations: 266.2 kB / 416.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.4058, allocations: 84.81 kB / 416.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.4072, allocations: 1.877 MB / 418.1 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.4074, allocations: 18.7 kB / 418.1 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.4075, allocations: 22.5 kB / 418.1 MB, free: 9.914 MB / 334.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): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001743/0.4077, allocations: 168.6 kB / 418.3 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.4077, allocations: 33.39 kB / 418.3 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.4088, allocations: 0.9495 MB / 419.3 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.4088, allocations: 12.02 kB / 419.3 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.4088, allocations: 0 / 419.3 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009506/0.4098, allocations: 1.12 MB / 420.4 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002417/0.4122, allocations: 1.59 MB / 422 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.4123, allocations: 1.5 kB / 422 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/0.4125, allocations: 54.03 kB / 422.1 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002262/0.4148, allocations: 286.3 kB / 422.3 MB, free: 6.949 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/0.4149, allocations: 13.42 kB / 422.3 MB, free: 6.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007623/0.4156, allocations: 0.6679 MB / 423 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4157, allocations: 0 / 423 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.4174, allocations: 0.9495 MB / 424 MB, free: 5.676 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.4176, allocations: 116.6 kB / 424.1 MB, free: 5.543 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.035e-05/0.4177, allocations: 12.16 kB / 424.1 MB, free: 5.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.418, allocations: 23 kB / 424.1 MB, free: 5.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.4181, allocations: 23.97 kB / 424.1 MB, free: 5.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.588e-05/0.4181, allocations: 16.19 kB / 424.1 MB, free: 5.484 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003645/0.4185, allocations: 235.2 kB / 424.4 MB, free: 5.297 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.4185, allocations: 0 / 424.4 MB, free: 5.297 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002652/0.4212, allocations: 0.4945 MB / 424.9 MB, free: 4.828 MB / 334.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.T) * 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 (30): * Single equations (assignments): 27 * 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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003991/0.4252, allocations: 0.512 MB / 425.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.4265, allocations: 0.5199 MB / 425.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4265, allocations: 0 / 425.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005625/0.4271, allocations: 303.5 kB / 426.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.4286, allocations: 187.1 kB / 426.4 MB, free: 3.633 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.4302, allocations: 1.186 MB / 427.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.4307, allocations: 0.8284 MB / 428.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003041/0.431, allocations: 107.2 kB / 428.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.328e-05/0.4311, allocations: 27.44 kB / 428.5 MB, free: 1.465 MB / 334.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4311, allocations: 0 / 428.5 MB, free: 1.465 MB / 334.1 MB Notification: Performance of Templates: time 0.03597/0.4671, allocations: 18.47 MB / 447 MB, free: 15.07 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches