Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.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.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol",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.001522/0.001522, allocations: 114.5 kB / 17.73 MB, free: 5.336 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.001612/0.001612, allocations: 187 kB / 18.67 MB, free: 4.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.394/1.394, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001348/0.001348, allocations: 51.94 kB / 328 MB, free: 3.832 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09344/0.0948, allocations: 46.62 MB / 374.6 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.2175/0.3123, allocations: 7.755 MB / 382.4 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008336/0.3132, allocations: 0.6302 MB / 383 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.997e-05/0.3133, allocations: 0.5312 kB / 383 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.3136, allocations: 24.58 kB / 383 MB, free: 9.027 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.3154, allocations: 0.5806 MB / 383.6 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.3158, allocations: 102.2 kB / 383.7 MB, free: 8.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004011/0.3162, allocations: 180.7 kB / 383.9 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.817e-05/0.3163, allocations: 4.828 kB / 383.9 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.3175, allocations: 0.6162 MB / 384.5 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.54e-05/0.3176, allocations: 52.16 kB / 384.6 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.3176, allocations: 8.656 kB / 384.6 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.3192, allocations: 0.8454 MB / 385.4 MB, free: 8.617 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.531e-05/0.3192, allocations: 24.98 kB / 385.4 MB, free: 8.609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.453e-05/0.3193, allocations: 44.8 kB / 385.5 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004626/0.3198, allocations: 239.1 kB / 385.7 MB, free: 8.555 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3198, allocations: 0 / 385.7 MB, free: 8.555 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3198, allocations: 1.188 kB / 385.7 MB, free: 8.555 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3198, allocations: 0 / 385.7 MB, free: 8.555 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004744/0.3203, allocations: 424.1 kB / 386.1 MB, free: 8.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.3204, allocations: 10.31 kB / 386.1 MB, free: 8.16 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.402e-05/0.3204, allocations: 39.8 kB / 386.2 MB, free: 8.121 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003962/0.3208, allocations: 35.23 kB / 386.2 MB, free: 8.117 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.3211, allocations: 197.3 kB / 386.4 MB, free: 7.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.3211, allocations: 13.42 kB / 386.4 MB, free: 7.906 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.3211, allocations: 6.125 kB / 386.4 MB, free: 7.906 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.3214, allocations: 142.8 kB / 386.6 MB, free: 7.832 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3214, allocations: 3.938 kB / 386.6 MB, free: 7.828 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.3214, allocations: 4.781 kB / 386.6 MB, free: 7.828 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.3214, allocations: 3.219 kB / 386.6 MB, free: 7.828 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.3216, allocations: 106.7 kB / 386.7 MB, free: 7.824 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.0006438/0.3222, allocations: 0.6722 MB / 387.4 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.3224, allocations: 86.08 kB / 387.4 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.314e-05/0.3225, allocations: 39.31 kB / 387.5 MB, free: 7.191 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004244/0.3229, allocations: 0.8062 MB / 388.3 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.3229, allocations: 32.67 kB / 388.3 MB, free: 6.211 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.275e-06/0.323, allocations: 7.312 kB / 388.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003076/0.3233, allocations: 128.7 kB / 388.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.3233, allocations: 53.56 kB / 388.5 MB, free: 6.105 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.634e-05/0.3234, allocations: 120.4 kB / 388.6 MB, free: 6 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.3234, allocations: 29.64 kB / 388.7 MB, free: 5.969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.159e-05/0.3235, allocations: 100.6 kB / 388.7 MB, free: 5.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.3235, allocations: 49.83 kB / 388.8 MB, free: 5.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.3236, allocations: 37.44 kB / 388.8 MB, free: 5.824 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.183e-05/0.3236, allocations: 323 kB / 389.1 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.372e-05/0.3237, allocations: 21.36 kB / 389.2 MB, free: 5.508 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.151e-05/0.3238, allocations: 67.55 kB / 389.2 MB, free: 5.461 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.3239, allocations: 110 kB / 389.3 MB, free: 5.402 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3239, allocations: 0 / 389.3 MB, free: 5.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001958/0.3241, allocations: 136.5 kB / 389.5 MB, free: 5.355 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3241, allocations: 5.406 kB / 389.5 MB, free: 5.355 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.3241, allocations: 3.031 kB / 389.5 MB, free: 5.355 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3242, allocations: 3.062 kB / 389.5 MB, free: 5.355 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.3243, allocations: 41.75 kB / 389.5 MB, free: 5.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.3243, allocations: 7.109 kB / 389.5 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.648e-05/0.3244, allocations: 6.891 kB / 389.5 MB, free: 5.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.3244, allocations: 11.95 kB / 389.6 MB, free: 5.34 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.682e-05/0.3245, allocations: 131.1 kB / 389.7 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.3245, allocations: 11.86 kB / 389.7 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.3248, allocations: 142.3 kB / 389.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3248, allocations: 2.812 kB / 389.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.3248, allocations: 11.3 kB / 389.8 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3248, allocations: 0.7969 kB / 389.8 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003801/0.3252, allocations: 397.1 kB / 390.2 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3252, allocations: 0 / 390.2 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.809e-05/0.3253, allocations: 20.94 kB / 390.3 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3253, allocations: 5.031 kB / 390.3 MB, free: 4.832 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.3253, allocations: 6.656 kB / 390.3 MB, free: 4.832 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3253, allocations: 5.156 kB / 390.3 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3253, allocations: 3.938 kB / 390.3 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.3255, allocations: 196.4 kB / 390.5 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.3256, allocations: 98.88 kB / 390.6 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.3256, allocations: 5.797 kB / 390.6 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.457e-05/0.3257, allocations: 2 kB / 390.6 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.191e-05/0.3257, allocations: 11.45 kB / 390.6 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.3258, allocations: 6 kB / 390.6 MB, free: 4.582 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.731e-05/0.3258, allocations: 94.42 kB / 390.7 MB, free: 4.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3258, allocations: 288 / 390.7 MB, free: 4.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003373/0.3262, allocations: 57.38 kB / 390.7 MB, free: 4.488 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005029/0.3267, allocations: 0.8016 MB / 391.5 MB, free: 3.773 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.3269, allocations: 82.59 kB / 391.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3269, allocations: 1.188 kB / 391.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.643e-05/0.3269, allocations: 41.06 kB / 391.7 MB, free: 3.738 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.3274, allocations: 46.03 kB / 391.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.3288, allocations: 1.565 MB / 393.3 MB, free: 2.336 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.3289, allocations: 0.7048 MB / 394 MB, free: 1.629 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000126/0.3291, allocations: 33.08 kB / 394 MB, free: 1.613 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.638e-05/0.3291, allocations: 30.12 kB / 394 MB, free: 1.598 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3291, allocations: 1.219 kB / 394 MB, free: 1.598 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/0.3507, allocations: 3.789 MB / 397.8 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.576/7.927, allocations: 1 kB / 397.8 MB, free: 0.8555 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_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_Incompressible_Examples_TestGlycol.fmu > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches