Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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.Glycol47,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",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.001172/0.001172, allocations: 110.5 kB / 17.73 MB, free: 5.359 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.001244/0.001244, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.355/1.355, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001399/0.001399, allocations: 59.86 kB / 328.1 MB, free: 3.773 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08814/0.08955, allocations: 46.62 MB / 374.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.2253/0.3149, allocations: 24.57 MB / 399.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003436/0.3184, allocations: 2.506 MB / 401.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.3187, allocations: 3.5 kB / 401.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000598/0.3193, allocations: 163.5 kB / 401.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006556/0.32, allocations: 323 kB / 402.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002367/0.3224, allocations: 0.9735 MB / 403.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.3234, allocations: 0.8972 MB / 404.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.3236, allocations: 115 kB / 404.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00463/0.3283, allocations: 2.726 MB / 407 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004935/0.3288, allocations: 270.2 kB / 407.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.559e-05/0.3289, allocations: 29.56 kB / 407.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006399/0.3295, allocations: 238.8 kB / 407.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.3296, allocations: 97.83 kB / 407.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002207/0.3299, allocations: 196 kB / 407.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007449/0.3306, allocations: 0.5798 MB / 408.4 MB, free: 9.668 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3306, allocations: 4 kB / 408.4 MB, free: 9.664 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3306, allocations: 0 / 408.4 MB, free: 9.664 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.3307, allocations: 1.031 kB / 408.4 MB, free: 9.664 MB / 334.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.0008503/0.3315, allocations: 0.6259 MB / 409 MB, free: 9.102 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.3316, allocations: 10.25 kB / 409 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.422e-05/0.3316, allocations: 64.12 kB / 409.1 MB, free: 9.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003594/0.332, allocations: 57.33 kB / 409.1 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000471/0.3325, allocations: 301 kB / 409.4 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.3325, allocations: 20.47 kB / 409.4 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.393e-05/0.3326, allocations: 24.38 kB / 409.4 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005806/0.3332, allocations: 336 kB / 409.8 MB, free: 8.449 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.3332, allocations: 1.406 kB / 409.8 MB, free: 8.449 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.162e-05/0.3332, allocations: 12.66 kB / 409.8 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.3333, allocations: 6.531 kB / 409.8 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003358/0.3336, allocations: 192 kB / 410 MB, free: 8.352 MB / 334.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.002345/0.336, allocations: 2.112 MB / 412.1 MB, free: 6.211 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.3363, allocations: 202 kB / 412.3 MB, free: 6.094 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.3365, allocations: 90.78 kB / 412.4 MB, free: 6.043 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000186/0.3366, allocations: 245.6 kB / 412.6 MB, free: 5.758 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.421e-05/0.3367, allocations: 37.5 kB / 412.7 MB, free: 5.715 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 2.334e-06/0.3367, allocations: 1.156 kB / 412.7 MB, free: 5.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.002923/0.3397, allocations: 1.022 MB / 413.7 MB, free: 5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.3397, allocations: 58.73 kB / 413.7 MB, free: 4.934 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.3401, allocations: 261.8 kB / 414 MB, free: 4.758 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.3401, allocations: 34.89 kB / 414 MB, free: 4.719 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.3403, allocations: 183.2 kB / 414.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.156e-05/0.3404, allocations: 115.4 kB / 414.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.3405, allocations: 69.66 kB / 414.4 MB, free: 4.402 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3406, allocations: 341.4 kB / 414.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.3408, allocations: 85.67 kB / 414.8 MB, free: 4.027 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.341, allocations: 176.4 kB / 415 MB, free: 3.879 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/0.3414, allocations: 277.7 kB / 415.2 MB, free: 3.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3414, allocations: 4 kB / 415.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006033/0.342, allocations: 384.3 kB / 415.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.3421, allocations: 6.125 kB / 415.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.3421, allocations: 3.312 kB / 415.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004432/0.3425, allocations: 96.33 kB / 415.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.3428, allocations: 67.78 kB / 415.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000539/0.3433, allocations: 0.6586 MB / 416.5 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.3435, allocations: 6.781 kB / 416.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.035e-05/0.3436, allocations: 19.53 kB / 416.5 MB, free: 2.797 MB / 334.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.0001777/0.3438, allocations: 157.8 kB / 416.6 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.565e-05/0.3439, allocations: 36.34 kB / 416.7 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00066/0.3445, allocations: 379.2 kB / 417 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.3445, allocations: 6.844 kB / 417 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3446, allocations: 0 / 417 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004967/0.3451, allocations: 0.5512 MB / 417.6 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.3462, allocations: 0.7449 MB / 418.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3462, allocations: 0 / 418.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.3464, allocations: 31.3 kB / 418.4 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004927/0.3469, allocations: 107.9 kB / 418.5 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.3469, allocations: 7.438 kB / 418.5 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004992/0.3474, allocations: 0.6389 MB / 419.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3475, allocations: 1.031 kB / 419.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007643/0.3482, allocations: 494.5 kB / 419.6 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.3483, allocations: 104.3 kB / 419.7 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.371e-05/0.3484, allocations: 6.625 kB / 419.7 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.3486, allocations: 13.03 kB / 419.7 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.3487, allocations: 16.38 kB / 419.7 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/0.3487, allocations: 17.55 kB / 419.8 MB, free: 76 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002352/0.349, allocations: 196.3 kB / 420 MB, free: 15.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.349, allocations: 0 / 420 MB, free: 15.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005063/0.3495, allocations: 109.2 kB / 420.1 MB, free: 15.93 MB / 350.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.001064/0.3506, allocations: 1.07 MB / 421.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000473/0.351, allocations: 251.8 kB / 421.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.3511, allocations: 1.219 kB / 421.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002599/0.3513, allocations: 124.6 kB / 421.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009198/0.3523, allocations: 165.2 kB / 421.7 MB, free: 14.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003779/0.356, allocations: 3.095 MB / 424.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.3564, allocations: 0.7631 MB / 425.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002834/0.3567, allocations: 71.25 kB / 425.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.3568, allocations: 95.5 kB / 425.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3568, allocations: 0 / 425.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/0.3868, allocations: 10.29 MB / 436 MB, free: 1.391 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.49, allocations: 0 / 436 MB, free: 1.391 MB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_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_Glycol47.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_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/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches