Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_0_0_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.001537/0.001537, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001676/0.001676, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009166/0.0009166, allocations: 50.61 kB / 300.7 MB, free: 5.766 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07906/0.07999, allocations: 49.44 MB / 350.2 MB, free: 4.316 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.005988/0.08601, allocations: 4.854 MB / 355 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007399/0.08677, allocations: 0.6114 MB / 355.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.308e-05/0.08683, allocations: 4 kB / 355.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.08702, allocations: 35.77 kB / 355.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.08809, allocations: 0.5722 MB / 356.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.0883, allocations: 95.16 kB / 356.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.0885, allocations: 183.3 kB / 356.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.514e-05/0.08854, allocations: 8 kB / 356.5 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008493/0.0894, allocations: 0.608 MB / 357.1 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.778e-05/0.08948, allocations: 47.78 kB / 357.2 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.0895, allocations: 8 kB / 357.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.09059, allocations: 0.8543 MB / 358 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.09064, allocations: 23.91 kB / 358.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.942e-05/0.0907, allocations: 39.86 kB / 358.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003414/0.09104, allocations: 243.5 kB / 358.3 MB, free: 12.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.09106, allocations: 4 kB / 358.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.09106, allocations: 0 / 358.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.09108, allocations: 0 / 358.3 MB, free: 12.09 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004065/0.09149, allocations: 431.1 kB / 358.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.09152, allocations: 15.91 kB / 358.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.683e-05/0.09157, allocations: 42.69 kB / 358.8 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000351/0.09192, allocations: 36.81 kB / 358.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.09208, allocations: 180.4 kB / 359 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.0921, allocations: 16.12 kB / 359 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.09212, allocations: 8 kB / 359.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.09233, allocations: 133 kB / 359.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.09234, allocations: 4 kB / 359.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.09236, allocations: 4 kB / 359.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.09237, allocations: 7.984 kB / 359.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.09253, allocations: 111.8 kB / 359.3 MB, free: 11.01 MB / 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.0005834/0.09312, allocations: 0.6604 MB / 360 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.09326, allocations: 86.48 kB / 360 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.378e-05/0.09333, allocations: 36.84 kB / 360.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005239/0.09386, allocations: 0.8115 MB / 360.9 MB, free: 9.148 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.09389, allocations: 34.56 kB / 360.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.0939, allocations: 0 / 360.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002527/0.09415, allocations: 137.8 kB / 361.1 MB, free: 8.965 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.09419, allocations: 55.41 kB / 361.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.3e-05/0.09427, allocations: 109.8 kB / 361.2 MB, free: 8.781 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.09429, allocations: 29.7 kB / 361.3 MB, free: 8.746 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.609e-05/0.09434, allocations: 112.2 kB / 361.4 MB, free: 8.633 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.09438, allocations: 43.38 kB / 361.4 MB, free: 8.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.09443, allocations: 37.62 kB / 361.4 MB, free: 8.547 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.313e-05/0.09452, allocations: 318.8 kB / 361.8 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.515e-05/0.09458, allocations: 31.92 kB / 361.8 MB, free: 8.195 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.091e-05/0.09465, allocations: 69.12 kB / 361.9 MB, free: 8.109 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.09478, allocations: 104.3 kB / 362 MB, free: 7.992 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.09479, allocations: 3.938 kB / 362 MB, free: 7.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001917/0.09498, allocations: 145.5 kB / 362.1 MB, free: 7.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.095, allocations: 4 kB / 362.1 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.09501, allocations: 0 / 362.1 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.09502, allocations: 7.938 kB / 362.1 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.09513, allocations: 27.98 kB / 362.1 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.09514, allocations: 7.938 kB / 362.1 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.433e-05/0.0952, allocations: 15.84 kB / 362.2 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.09523, allocations: 11.98 kB / 362.2 MB, free: 7.766 MB / 302.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 7.758e-05/0.09531, allocations: 125.9 kB / 362.3 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.09535, allocations: 7.906 kB / 362.3 MB, free: 7.625 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.09561, allocations: 138 kB / 362.4 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.09562, allocations: 4 kB / 362.4 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.09563, allocations: 0 / 362.4 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.09563, allocations: 3.984 kB / 362.4 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.09602, allocations: 394.3 kB / 362.8 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.09603, allocations: 4 kB / 362.8 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.19e-05/0.09611, allocations: 23.92 kB / 362.9 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.09611, allocations: 0 / 362.9 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.09613, allocations: 8 kB / 362.9 MB, free: 7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.09614, allocations: 0 / 362.9 MB, free: 7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.09614, allocations: 0 / 362.9 MB, free: 7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.09632, allocations: 207.1 kB / 363.1 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.913e-05/0.09639, allocations: 97 kB / 363.2 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.09641, allocations: 3.984 kB / 363.2 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.547e-05/0.0965, allocations: 0 / 363.2 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.09653, allocations: 12 kB / 363.2 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.09655, allocations: 7.984 kB / 363.2 MB, free: 6.648 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.291e-05/0.09659, allocations: 91.27 kB / 363.3 MB, free: 6.559 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.222e-06/0.0966, allocations: 0 / 363.3 MB, free: 6.559 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002955/0.0969, allocations: 59.94 kB / 363.3 MB, free: 6.5 MB / 302.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.0005577/0.09746, allocations: 0.8139 MB / 364.2 MB, free: 5.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.09763, allocations: 91.84 kB / 364.2 MB, free: 5.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.09764, allocations: 0 / 364.2 MB, free: 5.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.462e-05/0.0977, allocations: 40.23 kB / 364.3 MB, free: 5.531 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.09812, allocations: 43.94 kB / 364.3 MB, free: 5.488 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.09938, allocations: 1.562 MB / 365.9 MB, free: 3.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.0996, allocations: 0.6928 MB / 366.6 MB, free: 3.102 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001312/0.09974, allocations: 36.86 kB / 366.6 MB, free: 3.066 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.742e-05/0.0998, allocations: 35.42 kB / 366.6 MB, free: 3.031 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.09981, allocations: 0 / 366.6 MB, free: 3.031 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.72/1.82, allocations: 3.802 MB / 370.5 MB, free: 25.81 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.579/10.4, allocations: 6.438 kB / 370.5 MB, free: 25.81 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches