Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.002721/0.002721, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.342/2.342, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.002735/0.002735, allocations: 55.91 kB / 280.8 MB, free: 3.066 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1691, allocations: 46.63 MB / 327.4 MB, free: 4.371 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.06137/0.2306, allocations: 24.56 MB / 352 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006714/0.2374, allocations: 2.495 MB / 354.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004945/0.238, allocations: 7.938 kB / 354.5 MB, free: 9.191 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.239, allocations: 159 kB / 354.6 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001345/0.2404, allocations: 326.2 kB / 354.9 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004409/0.2449, allocations: 1.017 MB / 355.9 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002149/0.247, allocations: 0.8991 MB / 356.8 MB, free: 6.793 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004475/0.2475, allocations: 100.7 kB / 356.9 MB, free: 6.699 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009292/0.2568, allocations: 3.06 MB / 360 MB, free: 3.633 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009871/0.2579, allocations: 274.9 kB / 360.3 MB, free: 3.363 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002007/0.2581, allocations: 32 kB / 360.3 MB, free: 3.332 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.2596, allocations: 243.7 kB / 360.5 MB, free: 3.094 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003103/0.26, allocations: 87.72 kB / 360.6 MB, free: 3.008 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006269/0.2606, allocations: 199.2 kB / 360.8 MB, free: 2.812 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.2622, allocations: 0.5765 MB / 361.4 MB, free: 2.234 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.2623, allocations: 0 / 361.4 MB, free: 2.234 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.2623, allocations: 3.938 kB / 361.4 MB, free: 2.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.567e-05/0.2623, allocations: 4 kB / 361.4 MB, free: 2.227 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002309/0.2646, allocations: 0.616 MB / 362 MB, free: 1.562 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.423e-05/0.2648, allocations: 8.031 kB / 362 MB, free: 1.555 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002427/0.265, allocations: 66.72 kB / 362.1 MB, free: 1.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009208/0.266, allocations: 52.55 kB / 362.1 MB, free: 1.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.267, allocations: 291.5 kB / 362.4 MB, free: 1.105 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.186e-05/0.2671, allocations: 20.94 kB / 362.4 MB, free: 1.086 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.2672, allocations: 28.38 kB / 362.5 MB, free: 1.059 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.2684, allocations: 338.2 kB / 362.8 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.134e-05/0.2685, allocations: 4 kB / 362.8 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.802e-05/0.2686, allocations: 12 kB / 362.8 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.2686, allocations: 8 kB / 362.8 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006732/0.2693, allocations: 189.5 kB / 363 MB, free: 496 kB / 302.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.004599/0.2739, allocations: 2.123 MB / 365.1 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006205/0.2746, allocations: 186.5 kB / 365.3 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/0.2748, allocations: 84.83 kB / 365.4 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000331/0.2752, allocations: 255.5 kB / 365.7 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.384e-05/0.2753, allocations: 42.56 kB / 365.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 5.781e-06/0.2753, allocations: 0 / 365.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.005208/0.2805, allocations: 1.018 MB / 366.7 MB, free: 12.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.2806, allocations: 55.41 kB / 366.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005446/0.2812, allocations: 270.5 kB / 367 MB, free: 12.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.257e-05/0.2813, allocations: 33.7 kB / 367.1 MB, free: 12.03 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.2815, allocations: 184.1 kB / 367.2 MB, free: 11.85 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.2817, allocations: 98.56 kB / 367.3 MB, free: 11.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.2819, allocations: 74.06 kB / 367.4 MB, free: 11.67 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002389/0.2822, allocations: 334.8 kB / 367.7 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.2825, allocations: 80.72 kB / 367.8 MB, free: 11.26 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004297/0.283, allocations: 178.6 kB / 368 MB, free: 11.05 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009449/0.2839, allocations: 281.2 kB / 368.3 MB, free: 10.74 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.284, allocations: 0 / 368.3 MB, free: 10.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001233/0.2852, allocations: 385.5 kB / 368.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.2853, allocations: 4 kB / 368.6 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.2853, allocations: 4 kB / 368.7 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007775/0.2861, allocations: 105 kB / 368.8 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004793/0.2866, allocations: 63.91 kB / 368.8 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/0.2876, allocations: 0.6576 MB / 369.5 MB, free: 9.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004156/0.288, allocations: 12 kB / 369.5 MB, free: 9.484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.951e-05/0.2881, allocations: 16 kB / 369.5 MB, free: 9.469 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0003581/0.2885, allocations: 165.8 kB / 369.7 MB, free: 9.297 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.2887, allocations: 35.59 kB / 369.7 MB, free: 9.262 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.2899, allocations: 368.9 kB / 370.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.2899, allocations: 4 kB / 370.1 MB, free: 8.871 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.29, allocations: 0 / 370.1 MB, free: 8.871 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009646/0.2909, allocations: 0.5553 MB / 370.6 MB, free: 8.227 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/0.293, allocations: 0.7478 MB / 371.4 MB, free: 7.414 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.293, allocations: 4 kB / 371.4 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.2933, allocations: 27.98 kB / 371.4 MB, free: 7.383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009428/0.2943, allocations: 104.8 kB / 371.5 MB, free: 7.277 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/0.2943, allocations: 11.98 kB / 371.5 MB, free: 7.266 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.2954, allocations: 0.638 MB / 372.1 MB, free: 6.602 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.2954, allocations: 0 / 372.1 MB, free: 6.602 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.2967, allocations: 485.5 kB / 372.6 MB, free: 6.102 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.2969, allocations: 104.8 kB / 372.7 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.572e-05/0.297, allocations: 4 kB / 372.7 MB, free: 5.977 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004833/0.2975, allocations: 8.062 kB / 372.7 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/0.2976, allocations: 23.97 kB / 372.8 MB, free: 5.945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.853e-05/0.2977, allocations: 11.98 kB / 372.8 MB, free: 5.934 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003896/0.2981, allocations: 202 kB / 373 MB, free: 5.738 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.11e-07/0.2981, allocations: 0 / 373 MB, free: 5.738 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009484/0.2991, allocations: 108 kB / 373.1 MB, free: 5.633 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002315/0.3014, allocations: 1.062 MB / 374.1 MB, free: 4.535 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.3026, allocations: 260.2 kB / 374.4 MB, free: 4.281 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/0.3027, allocations: 4 kB / 374.4 MB, free: 4.277 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005505/0.3032, allocations: 115.9 kB / 374.5 MB, free: 4.164 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002207/0.3055, allocations: 168.7 kB / 374.7 MB, free: 4 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008968/0.3145, allocations: 3.102 MB / 377.8 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2842/0.5988, allocations: 0.7646 MB / 378.5 MB, free: 56.53 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008775/0.5997, allocations: 61.05 kB / 378.6 MB, free: 56.53 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003843/0.6002, allocations: 98.36 kB / 378.7 MB, free: 56.52 MB / 318.1 MB Notification: Performance of SimCode: time 3.727e-06/0.6002, allocations: 1.031 kB / 378.7 MB, free: 56.52 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07457/0.6748, allocations: 10.14 MB / 388.8 MB, free: 53.44 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.62/19.29, allocations: 8.797 kB / 388.8 MB, free: 53.43 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches