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.002649/0.002649, allocations: 104.1 kB / 17.58 MB, free: 5.555 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: 192.1 kB / 18.51 MB, free: 4.637 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.316/2.316, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.002445/0.002445, allocations: 51.92 kB / 280.8 MB, free: 3.059 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1487, allocations: 46.62 MB / 327.4 MB, free: 4.363 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.05182/0.2006, allocations: 24.58 MB / 352 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006759/0.2074, allocations: 2.495 MB / 354.5 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000552/0.2081, allocations: 8 kB / 354.5 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.2092, allocations: 162.9 kB / 354.6 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001507/0.2107, allocations: 326.2 kB / 354.9 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004012/0.2148, allocations: 0.9663 MB / 355.9 MB, free: 7.715 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001863/0.2166, allocations: 0.8951 MB / 356.8 MB, free: 6.816 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003874/0.2171, allocations: 100.7 kB / 356.9 MB, free: 6.723 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008554/0.2256, allocations: 2.728 MB / 359.6 MB, free: 3.988 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008923/0.2266, allocations: 274.9 kB / 359.9 MB, free: 3.719 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001862/0.2268, allocations: 28 kB / 359.9 MB, free: 3.691 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.2281, allocations: 239.6 kB / 360.2 MB, free: 3.457 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002784/0.2284, allocations: 99.7 kB / 360.3 MB, free: 3.359 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006415/0.2291, allocations: 191.2 kB / 360.5 MB, free: 3.172 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.2305, allocations: 0.5726 MB / 361 MB, free: 2.598 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.2305, allocations: 0 / 361 MB, free: 2.598 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2305, allocations: 4 kB / 361 MB, free: 2.594 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.109e-05/0.2306, allocations: 0 / 361 MB, free: 2.594 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.001629/0.2322, allocations: 0.6276 MB / 361.7 MB, free: 1.918 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.131e-05/0.2323, allocations: 8.031 kB / 361.7 MB, free: 1.91 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001736/0.2325, allocations: 62.73 kB / 361.7 MB, free: 1.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007359/0.2332, allocations: 56.48 kB / 361.8 MB, free: 1.785 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006369/0.2339, allocations: 299.5 kB / 362.1 MB, free: 1.453 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/0.234, allocations: 20.94 kB / 362.1 MB, free: 1.434 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.857e-05/0.234, allocations: 24.38 kB / 362.1 MB, free: 1.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009583/0.235, allocations: 334.2 kB / 362.4 MB, free: 1.051 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.2351, allocations: 0 / 362.4 MB, free: 1.051 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.677e-05/0.2351, allocations: 16 kB / 362.5 MB, free: 1.035 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.2352, allocations: 4 kB / 362.5 MB, free: 1.031 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005845/0.2358, allocations: 193.5 kB / 362.7 MB, free: 0.8398 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.003571/0.2394, allocations: 2.123 MB / 364.8 MB, free: 14.49 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005364/0.2399, allocations: 186.5 kB / 365 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.2401, allocations: 84.83 kB / 365 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002185/0.2403, allocations: 251.5 kB / 365.3 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.2404, allocations: 34.56 kB / 365.3 MB, free: 13.87 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 2.024e-06/0.2404, allocations: 0 / 365.3 MB, free: 13.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.003092/0.2435, allocations: 1.018 MB / 366.3 MB, free: 12.78 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.2436, allocations: 59.41 kB / 366.4 MB, free: 12.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/0.2439, allocations: 270.5 kB / 366.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.244, allocations: 29.7 kB / 366.7 MB, free: 12.4 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.2441, allocations: 188 kB / 366.9 MB, free: 12.21 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.794e-05/0.2442, allocations: 98.56 kB / 367 MB, free: 12.11 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.2443, allocations: 70.06 kB / 367 MB, free: 12.04 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.2445, allocations: 338.8 kB / 367.4 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.2447, allocations: 92.64 kB / 367.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.2449, allocations: 170.6 kB / 367.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004233/0.2454, allocations: 277.2 kB / 367.9 MB, free: 11.11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.2454, allocations: 8 kB / 367.9 MB, free: 11.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00065/0.2461, allocations: 385.5 kB / 368.3 MB, free: 10.71 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.2461, allocations: 4 kB / 368.3 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.2461, allocations: 4 kB / 368.3 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000472/0.2466, allocations: 101 kB / 368.4 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.2469, allocations: 67.84 kB / 368.5 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006066/0.2475, allocations: 0.6538 MB / 369.1 MB, free: 9.855 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.2477, allocations: 8 kB / 369.1 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.2477, allocations: 20.06 kB / 369.1 MB, free: 9.828 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.0002082/0.248, allocations: 161.7 kB / 369.3 MB, free: 9.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.952e-05/0.248, allocations: 31.66 kB / 369.3 MB, free: 9.629 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007169/0.2488, allocations: 376.9 kB / 369.7 MB, free: 9.234 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.2488, allocations: 0 / 369.7 MB, free: 9.234 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.2488, allocations: 0 / 369.7 MB, free: 9.234 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006489/0.2495, allocations: 0.5554 MB / 370.2 MB, free: 8.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.2507, allocations: 0.7477 MB / 371 MB, free: 7.777 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2508, allocations: 0 / 371 MB, free: 7.777 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.2509, allocations: 31.98 kB / 371 MB, free: 7.746 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005444/0.2515, allocations: 108.8 kB / 371.1 MB, free: 7.637 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.2515, allocations: 8 kB / 371.1 MB, free: 7.629 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005824/0.2521, allocations: 0.642 MB / 371.8 MB, free: 6.961 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2521, allocations: 0 / 371.8 MB, free: 6.961 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008416/0.253, allocations: 489.4 kB / 372.3 MB, free: 6.457 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.2531, allocations: 96.86 kB / 372.4 MB, free: 6.344 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.744e-05/0.2532, allocations: 12.16 kB / 372.4 MB, free: 6.332 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/0.2535, allocations: 15.92 kB / 372.4 MB, free: 6.316 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.2535, allocations: 11.98 kB / 372.4 MB, free: 6.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.108e-05/0.2536, allocations: 23.97 kB / 372.4 MB, free: 6.281 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003405/0.254, allocations: 194 kB / 372.6 MB, free: 6.094 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.254, allocations: 0 / 372.6 MB, free: 6.094 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008242/0.2548, allocations: 116 kB / 372.7 MB, free: 5.98 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.00183/0.2567, allocations: 1.066 MB / 373.8 MB, free: 4.879 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009122/0.2576, allocations: 251.8 kB / 374 MB, free: 4.633 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.2576, allocations: 4 kB / 374 MB, free: 4.629 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004317/0.2581, allocations: 115.9 kB / 374.1 MB, free: 4.516 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.2598, allocations: 166.4 kB / 374.3 MB, free: 4.355 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006275/0.2661, allocations: 3.106 MB / 377.4 MB, free: 1.094 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006122/0.2667, allocations: 0.7606 MB / 378.2 MB, free: 316 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007111/0.2675, allocations: 63.19 kB / 378.2 MB, free: 252 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002577/0.2678, allocations: 103.4 kB / 378.3 MB, free: 148 kB / 318.1 MB Notification: Performance of SimCode: time 1.592e-06/0.2678, allocations: 0 / 378.3 MB, free: 148 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3122/0.58, allocations: 10.13 MB / 388.5 MB, free: 54.25 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.06/19.64, allocations: 1.188 kB / 388.5 MB, free: 54.25 MB / 318.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