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.001065/0.001065, allocations: 99.39 kB / 18.35 MB, free: 4.648 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.001004/0.001004, allocations: 192 kB / 19.29 MB, free: 3.715 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.313/1.313, allocations: 205.1 MB / 225.2 MB, free: 12.28 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.001179/0.001179, allocations: 52.25 kB / 282.1 MB, free: 2.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0878/0.08899, allocations: 46.62 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03306/0.1221, allocations: 32.56 MB / 361.3 MB, free: 3.078 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01755/0.1397, allocations: 15.73 MB / 377 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003149/0.1401, allocations: 7.938 kB / 377 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008272/0.141, allocations: 274.4 kB / 377.3 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007277/0.1417, allocations: 357.9 kB / 377.7 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1881/0.3298, allocations: 5.782 MB / 383.4 MB, free: 12.08 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001317/0.3312, allocations: 0.9753 MB / 384.4 MB, free: 12.08 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002363/0.3314, allocations: 108 kB / 384.5 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005176/0.3366, allocations: 2.184 MB / 386.7 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003938/0.337, allocations: 297.7 kB / 387 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.254e-05/0.3371, allocations: 36.16 kB / 387 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00619/0.3433, allocations: 3.616 MB / 390.6 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.3435, allocations: 103.9 kB / 390.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004508/0.3439, allocations: 220.8 kB / 391 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005389/0.3493, allocations: 2.351 MB / 393.3 MB, free: 11.56 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3494, allocations: 3.656 kB / 393.3 MB, free: 11.56 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3494, allocations: 0 / 393.3 MB, free: 11.56 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.3494, allocations: 1.469 kB / 393.3 MB, free: 11.56 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.001288/0.3507, allocations: 0.82 MB / 394.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3507, allocations: 13.42 kB / 394.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007109/0.3514, allocations: 87.42 kB / 394.2 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.3519, allocations: 306 kB / 394.5 MB, free: 10.81 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.3519, allocations: 26.94 kB / 394.6 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.712e-05/0.352, allocations: 32.53 kB / 394.6 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00072/0.3527, allocations: 449.7 kB / 395 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.3527, allocations: 1.656 kB / 395 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/0.3528, allocations: 15.91 kB / 395.1 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.3528, allocations: 7.656 kB / 395.1 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005794/0.3534, allocations: 318.9 kB / 395.4 MB, free: 10.66 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.002073/0.3554, allocations: 2.624 MB / 398 MB, free: 8.578 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005127/0.356, allocations: 248.1 kB / 398.2 MB, free: 8.555 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.3561, allocations: 105.3 kB / 398.3 MB, free: 8.547 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02806/0.3842, allocations: 15.55 MB / 413.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/0.3843, allocations: 34.53 kB / 413.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.823e-06/0.3843, allocations: 1.312 kB / 413.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.004394/0.3887, allocations: 1.316 MB / 415.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.3887, allocations: 53.72 kB / 415.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.389, allocations: 267.3 kB / 415.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.389, allocations: 35.48 kB / 415.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.3892, allocations: 196.4 kB / 415.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/0.3892, allocations: 108.7 kB / 415.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.3894, allocations: 78.11 kB / 416 MB, free: 12.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.3895, allocations: 343 kB / 416.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.3896, allocations: 97.84 kB / 416.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.3899, allocations: 219 kB / 416.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/0.3903, allocations: 349.3 kB / 417 MB, free: 11.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3903, allocations: 2.562 kB / 417 MB, free: 11.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006662/0.391, allocations: 451.1 kB / 417.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.391, allocations: 9.438 kB / 417.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.391, allocations: 5.531 kB / 417.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003194/0.3942, allocations: 258.2 kB / 417.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.3945, allocations: 85.3 kB / 417.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.396, allocations: 1.974 MB / 419.7 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.3963, allocations: 11.62 kB / 419.7 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.3963, allocations: 15.81 kB / 419.7 MB, free: 9.402 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.0001803/0.3965, allocations: 170.1 kB / 419.9 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.929e-05/0.3966, allocations: 35.56 kB / 419.9 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.3977, allocations: 0.9414 MB / 420.9 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.3977, allocations: 7.984 kB / 420.9 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.3977, allocations: 0 / 420.9 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009322/0.3986, allocations: 1.115 MB / 422 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.4004, allocations: 1.593 MB / 423.6 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.4005, allocations: 0 / 423.6 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.4007, allocations: 52.47 kB / 423.7 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001659/0.4023, allocations: 296.6 kB / 423.9 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.4024, allocations: 3.375 kB / 423.9 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005063/0.4029, allocations: 0.6696 MB / 424.6 MB, free: 5.645 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4029, allocations: 0 / 424.6 MB, free: 5.645 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.404, allocations: 0.9581 MB / 425.6 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.4041, allocations: 116 kB / 425.7 MB, free: 4.867 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.937e-05/0.4041, allocations: 9.188 kB / 425.7 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.4043, allocations: 10.5 kB / 425.7 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.4044, allocations: 15.97 kB / 425.7 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.4044, allocations: 15.55 kB / 425.7 MB, free: 4.832 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002426/0.4046, allocations: 239.4 kB / 426 MB, free: 4.598 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4046, allocations: 0 / 426 MB, free: 4.598 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001905/0.4066, allocations: 0.492 MB / 426.5 MB, free: 4.105 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.001736/0.4083, allocations: 0.5102 MB / 427 MB, free: 3.629 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009539/0.4093, allocations: 0.5281 MB / 427.5 MB, free: 3.102 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.4093, allocations: 4 kB / 427.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004456/0.4097, allocations: 292.3 kB / 427.8 MB, free: 2.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009843/0.4107, allocations: 199 kB / 428 MB, free: 2.633 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.4123, allocations: 1.003 MB / 429 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.4126, allocations: 0.8206 MB / 429.8 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002768/0.4129, allocations: 107.2 kB / 429.9 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.643e-05/0.413, allocations: 31.44 kB / 429.9 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.413, allocations: 0 / 429.9 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of Templates: time 0.02667/0.4397, allocations: 18.78 MB / 448.7 MB, free: 13.91 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 -s cvode -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/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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