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.001263/0.001263, allocations: 109 kB / 17.05 MB, free: 6.055 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.00124/0.00124, allocations: 195.9 kB / 17.99 MB, free: 5.156 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.397/1.397, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 43.94 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2376, allocations: 49.44 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.00746/0.2451, allocations: 4.852 MB / 405.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000949/0.2461, allocations: 0.6192 MB / 405.7 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.724e-05/0.2462, allocations: 8 kB / 405.7 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002274/0.2464, allocations: 31.83 kB / 405.7 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.2479, allocations: 0.5722 MB / 406.3 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.2482, allocations: 90.72 kB / 406.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002712/0.2485, allocations: 179.2 kB / 406.6 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.725e-05/0.2485, allocations: 4 kB / 406.6 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.2497, allocations: 0.6236 MB / 407.2 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.698e-05/0.2498, allocations: 51.78 kB / 407.2 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.2498, allocations: 4 kB / 407.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.2513, allocations: 0.8463 MB / 408.1 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.804e-05/0.2514, allocations: 31.84 kB / 408.1 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.572e-05/0.2514, allocations: 43.8 kB / 408.2 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004784/0.2519, allocations: 234.3 kB / 408.4 MB, free: 0.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2519, allocations: 0 / 408.4 MB, free: 0.625 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2519, allocations: 0 / 408.4 MB, free: 0.625 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.252, allocations: 0 / 408.4 MB, free: 0.625 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.0005623/0.2525, allocations: 430.7 kB / 408.8 MB, free: 160 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.2526, allocations: 12.03 kB / 408.8 MB, free: 148 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.43e-05/0.2526, allocations: 38.75 kB / 408.9 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003889/0.253, allocations: 36.86 kB / 408.9 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.2533, allocations: 196.2 kB / 409.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.2534, allocations: 12.11 kB / 409.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.2534, allocations: 12 kB / 409.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.2537, allocations: 132.1 kB / 409.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.2537, allocations: 4 kB / 409.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.2537, allocations: 4 kB / 409.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.2537, allocations: 4 kB / 409.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.2539, allocations: 111.8 kB / 409.4 MB, free: 15.54 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.0007825/0.2547, allocations: 0.6605 MB / 410 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.2549, allocations: 94.42 kB / 410.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.413e-05/0.2549, allocations: 32.86 kB / 410.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007574/0.2557, allocations: 0.8076 MB / 410.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.2557, allocations: 34.56 kB / 411 MB, free: 13.63 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.2558, allocations: 0 / 411 MB, free: 13.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.000313/0.2561, allocations: 133.8 kB / 411.1 MB, free: 13.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.2561, allocations: 55.41 kB / 411.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.2562, allocations: 118.1 kB / 411.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.2563, allocations: 29.7 kB / 411.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.2564, allocations: 107.9 kB / 411.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.2564, allocations: 47.66 kB / 411.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-05/0.2565, allocations: 41.64 kB / 411.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.2566, allocations: 318.8 kB / 411.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.301e-05/0.2567, allocations: 27.98 kB / 411.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.852e-05/0.2568, allocations: 69.12 kB / 411.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.257, allocations: 107 kB / 412 MB, free: 12.51 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.257, allocations: 0 / 412 MB, free: 12.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002257/0.2572, allocations: 137.5 kB / 412.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.2572, allocations: 8 kB / 412.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2572, allocations: 0 / 412.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.2573, allocations: 7.938 kB / 412.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.2574, allocations: 31.92 kB / 412.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.2574, allocations: 8.141 kB / 412.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.101e-05/0.2575, allocations: 15.95 kB / 412.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.2575, allocations: 4 kB / 412.2 MB, free: 12.3 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 0.0001069/0.2576, allocations: 121.7 kB / 412.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.2577, allocations: 15.95 kB / 412.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003067/0.258, allocations: 138 kB / 412.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.258, allocations: 4 kB / 412.5 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.258, allocations: 4 kB / 412.5 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.258, allocations: 0 / 412.5 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005068/0.2585, allocations: 394.3 kB / 412.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2585, allocations: 0 / 412.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.046e-05/0.2586, allocations: 23.98 kB / 412.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.2586, allocations: 0 / 412.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.2586, allocations: 7.938 kB / 412.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2587, allocations: 4 kB / 412.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2587, allocations: 0 / 412.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.2589, allocations: 203.4 kB / 413.1 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-05/0.259, allocations: 105 kB / 413.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.259, allocations: 4 kB / 413.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.154e-05/0.2591, allocations: 0 / 413.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.2591, allocations: 11.98 kB / 413.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.2592, allocations: 8 kB / 413.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.634e-05/0.2592, allocations: 91.27 kB / 413.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.164e-06/0.2592, allocations: 0 / 413.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003533/0.2596, allocations: 64.09 kB / 413.4 MB, free: 11.02 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.000714/0.2603, allocations: 0.8019 MB / 414.2 MB, free: 10.19 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.2605, allocations: 83.91 kB / 414.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.2606, allocations: 0 / 414.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.818e-05/0.2606, allocations: 39.92 kB / 414.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.2611, allocations: 44.27 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.001695/0.2628, allocations: 1.587 MB / 416 MB, free: 8.332 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.2631, allocations: 0.6928 MB / 416.6 MB, free: 7.613 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.2632, allocations: 32.73 kB / 416.7 MB, free: 7.582 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.757e-05/0.2633, allocations: 27.44 kB / 416.7 MB, free: 7.555 MB / 334.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2633, allocations: 0 / 416.7 MB, free: 7.555 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02504/0.2884, allocations: 3.747 MB / 420.4 MB, free: 3.922 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.047/8.336, allocations: 8.5 kB / 420.5 MB, free: 3.914 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