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.00151/0.00151, allocations: 113.7 kB / 17.06 MB, free: 5.965 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.001716/0.001716, allocations: 198.8 kB / 18.01 MB, free: 5.047 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.308/1.308, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001011/0.001011, allocations: 51.92 kB / 350.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2275, allocations: 49.43 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007839/0.2354, allocations: 4.865 MB / 405.1 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009352/0.2364, allocations: 0.6114 MB / 405.7 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.543e-05/0.2365, allocations: 0 / 405.7 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.2368, allocations: 43.75 kB / 405.7 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001495/0.2383, allocations: 0.5761 MB / 406.3 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.2385, allocations: 87.86 kB / 406.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002522/0.2388, allocations: 179.2 kB / 406.6 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.074e-05/0.2388, allocations: 11.98 kB / 406.6 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.2399, allocations: 0.6158 MB / 407.2 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.288e-05/0.24, allocations: 43.83 kB / 407.2 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.24, allocations: 8 kB / 407.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.2413, allocations: 0.8502 MB / 408.1 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.913e-05/0.2414, allocations: 23.91 kB / 408.1 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.228e-05/0.2415, allocations: 39.86 kB / 408.2 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004411/0.2419, allocations: 246.2 kB / 408.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2419, allocations: 0 / 408.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2419, allocations: 0 / 408.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.2419, allocations: 3.984 kB / 408.4 MB, free: 0.6172 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.0005218/0.2425, allocations: 429.9 kB / 408.8 MB, free: 156 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.2425, allocations: 8.031 kB / 408.8 MB, free: 148 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.489e-05/0.2426, allocations: 42.73 kB / 408.9 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004038/0.243, allocations: 36.86 kB / 408.9 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.2433, allocations: 196.2 kB / 409.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.2433, allocations: 12.12 kB / 409.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.2433, allocations: 8 kB / 409.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.2435, allocations: 129.1 kB / 409.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.2436, allocations: 0 / 409.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.2436, allocations: 8 kB / 409.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2436, allocations: 0 / 409.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.2438, allocations: 111.9 kB / 409.4 MB, free: 15.55 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.0007114/0.2445, allocations: 0.6682 MB / 410 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.2447, allocations: 94.42 kB / 410.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.854e-05/0.2447, allocations: 36.84 kB / 410.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005944/0.2453, allocations: 0.8076 MB / 411 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.2454, allocations: 30.56 kB / 411 MB, free: 13.63 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.2454, allocations: 0 / 411 MB, free: 13.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002975/0.2457, allocations: 132.2 kB / 411.1 MB, free: 13.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.2457, allocations: 59.41 kB / 411.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.2458, allocations: 113.8 kB / 411.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.2459, allocations: 33.7 kB / 411.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.138e-05/0.2459, allocations: 99.94 kB / 411.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/0.246, allocations: 51.56 kB / 411.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.298e-05/0.246, allocations: 41.7 kB / 411.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.2462, allocations: 314.8 kB / 411.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.806e-05/0.2462, allocations: 27.98 kB / 411.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.532e-05/0.2463, allocations: 73.08 kB / 411.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.2465, allocations: 97.08 kB / 412 MB, free: 12.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2465, allocations: 3.938 kB / 412 MB, free: 12.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002187/0.2467, allocations: 147.6 kB / 412.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2467, allocations: 4 kB / 412.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2467, allocations: 0 / 412.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.2468, allocations: 7.938 kB / 412.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.2469, allocations: 35.92 kB / 412.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.2469, allocations: 7.984 kB / 412.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.024e-05/0.247, allocations: 7.953 kB / 412.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.247, allocations: 12 kB / 412.2 MB, free: 12.29 MB / 334.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 9.609e-05/0.2471, allocations: 121.9 kB / 412.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.2471, allocations: 11.94 kB / 412.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002808/0.2474, allocations: 142.3 kB / 412.5 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.2474, allocations: 4 kB / 412.5 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2474, allocations: 3.984 kB / 412.5 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2475, allocations: 0 / 412.5 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004406/0.2479, allocations: 390.4 kB / 412.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2479, allocations: 4 kB / 412.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.759e-05/0.248, allocations: 19.98 kB / 412.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.248, allocations: 0 / 412.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.248, allocations: 8 kB / 412.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.248, allocations: 7.922 kB / 412.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.248, allocations: 0 / 412.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.2482, allocations: 209.4 kB / 413.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.009e-05/0.2483, allocations: 101 kB / 413.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.2484, allocations: 4 kB / 413.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.5e-05/0.2485, allocations: 0 / 413.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.112e-05/0.2485, allocations: 15.98 kB / 413.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.2485, allocations: 4 kB / 413.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.973e-05/0.2486, allocations: 91.27 kB / 413.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2486, allocations: 0 / 413.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003382/0.2489, allocations: 59.86 kB / 413.4 MB, free: 11.01 MB / 334.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.0006204/0.2495, allocations: 0.798 MB / 414.2 MB, free: 10.19 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001746/0.2497, allocations: 91.78 kB / 414.3 MB, free: 10.1 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2497, allocations: 0 / 414.3 MB, free: 10.1 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.595e-05/0.2498, allocations: 39.92 kB / 414.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.2503, allocations: 48.17 kB / 414.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.2518, allocations: 1.577 MB / 416 MB, free: 8.332 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.252, allocations: 0.6928 MB / 416.7 MB, free: 7.613 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001248/0.2522, allocations: 36.78 kB / 416.7 MB, free: 7.578 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.183e-05/0.2522, allocations: 27.42 kB / 416.7 MB, free: 7.551 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2522, allocations: 0 / 416.7 MB, free: 7.551 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0201/0.2723, allocations: 3.746 MB / 420.5 MB, free: 3.914 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.662/7.935, allocations: 16.5 kB / 420.5 MB, free: 3.898 MB / 334.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