Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001092/0.001092, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001176/0.001176, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 59.91 kB / 358.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2185, allocations: 50.54 MB / 408.7 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007065/0.2256, allocations: 4.926 MB / 413.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008912/0.2265, allocations: 0.6192 MB / 414.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.83e-05/0.2266, allocations: 0 / 414.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002217/0.2268, allocations: 31.83 kB / 414.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.2283, allocations: 0.5839 MB / 414.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.2285, allocations: 107.3 kB / 415 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002483/0.2288, allocations: 175.3 kB / 415.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.2288, allocations: 4 kB / 415.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.2299, allocations: 0.6158 MB / 415.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.47e-05/0.23, allocations: 51.78 kB / 415.8 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.23, allocations: 8 kB / 415.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.2314, allocations: 0.8736 MB / 416.7 MB, free: 9.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.095e-05/0.2314, allocations: 23.86 kB / 416.7 MB, free: 9.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.383e-05/0.2315, allocations: 47.78 kB / 416.8 MB, free: 9.609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004332/0.2319, allocations: 246.3 kB / 417 MB, free: 9.371 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.232, allocations: 0 / 417 MB, free: 9.371 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.232, allocations: 0 / 417 MB, free: 9.371 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.232, allocations: 0 / 417 MB, free: 9.371 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004802/0.2325, allocations: 430.7 kB / 417.4 MB, free: 8.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.2325, allocations: 8.031 kB / 417.5 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.367e-05/0.2325, allocations: 42.75 kB / 417.5 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003984/0.233, allocations: 36.8 kB / 417.5 MB, free: 8.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.2332, allocations: 196.3 kB / 417.7 MB, free: 8.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.2332, allocations: 12.12 kB / 417.7 MB, free: 8.566 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.2333, allocations: 4 kB / 417.7 MB, free: 8.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.2335, allocations: 139.2 kB / 417.9 MB, free: 8.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.2335, allocations: 0 / 417.9 MB, free: 8.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.2335, allocations: 11.98 kB / 417.9 MB, free: 8.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2336, allocations: 0 / 417.9 MB, free: 8.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.2337, allocations: 107.9 kB / 418 MB, free: 8.293 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.0007036/0.2345, allocations: 0.6646 MB / 418.7 MB, free: 7.555 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.2346, allocations: 86.42 kB / 418.7 MB, free: 7.461 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.195e-05/0.2347, allocations: 44.84 kB / 418.8 MB, free: 7.414 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005788/0.2353, allocations: 0.8076 MB / 419.6 MB, free: 6.422 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.2353, allocations: 30.56 kB / 419.6 MB, free: 6.383 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.2353, allocations: 0 / 419.6 MB, free: 6.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002745/0.2356, allocations: 129.8 kB / 419.7 MB, free: 6.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.2356, allocations: 55.34 kB / 419.8 MB, free: 6.184 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.776e-05/0.2357, allocations: 121.8 kB / 419.9 MB, free: 6.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.2358, allocations: 37.7 kB / 420 MB, free: 6.012 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.086e-05/0.2358, allocations: 95.94 kB / 420.1 MB, free: 5.914 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.2359, allocations: 47.64 kB / 420.1 MB, free: 5.867 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.2359, allocations: 37.66 kB / 420.1 MB, free: 5.824 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.236, allocations: 314.8 kB / 420.4 MB, free: 5.508 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.89e-05/0.2361, allocations: 27.98 kB / 420.5 MB, free: 5.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.398e-05/0.2362, allocations: 80 kB / 420.5 MB, free: 5.387 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.2363, allocations: 104.7 kB / 420.7 MB, free: 5.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2363, allocations: 0 / 420.7 MB, free: 5.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002107/0.2365, allocations: 137.5 kB / 420.8 MB, free: 5.129 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.2366, allocations: 11.98 kB / 420.8 MB, free: 5.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2366, allocations: 3.938 kB / 420.8 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.2366, allocations: 7.938 kB / 420.8 MB, free: 5.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.2367, allocations: 31.98 kB / 420.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.2367, allocations: 4 kB / 420.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.135e-05/0.2368, allocations: 11.89 kB / 420.9 MB, free: 5.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.2368, allocations: 12 kB / 420.9 MB, free: 5.047 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.419e-05/0.2369, allocations: 125.9 kB / 421 MB, free: 4.914 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.237, allocations: 11.94 kB / 421 MB, free: 4.902 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002855/0.2373, allocations: 142.4 kB / 421.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2373, allocations: 0 / 421.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.2373, allocations: 0 / 421.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.2373, allocations: 7.938 kB / 421.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004427/0.2378, allocations: 398.4 kB / 421.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2378, allocations: 0 / 421.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.786e-05/0.2379, allocations: 27.92 kB / 421.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.2379, allocations: 0 / 421.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.2379, allocations: 4 kB / 421.6 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2379, allocations: 0 / 421.6 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2379, allocations: 3.938 kB / 421.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.2381, allocations: 202.9 kB / 421.8 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.645e-05/0.2382, allocations: 101 kB / 421.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.2382, allocations: 15.94 kB / 421.9 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-05/0.2383, allocations: 0 / 421.9 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.251e-05/0.2384, allocations: 7.984 kB / 421.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.2384, allocations: 8 kB / 421.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.255e-05/0.2385, allocations: 91.27 kB / 422 MB, free: 3.812 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2385, allocations: 0 / 422 MB, free: 3.812 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003304/0.2388, allocations: 59.88 kB / 422 MB, free: 3.754 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.0006371/0.2394, allocations: 0.802 MB / 422.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001772/0.2396, allocations: 87.84 kB / 422.9 MB, free: 2.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2396, allocations: 0 / 422.9 MB, free: 2.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.321e-05/0.2397, allocations: 39.98 kB / 423 MB, free: 2.801 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.2401, allocations: 44.17 kB / 423 MB, free: 2.758 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.2416, allocations: 1.579 MB / 424.6 MB, free: 1.078 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.2419, allocations: 0.6966 MB / 425.3 MB, free: 364 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.242, allocations: 28.8 kB / 425.3 MB, free: 336 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.422e-05/0.2421, allocations: 27.42 kB / 425.3 MB, free: 308 kB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2421, allocations: 4 kB / 425.4 MB, free: 304 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02029/0.2624, allocations: 3.852 MB / 429.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.365/7.628, allocations: 8.562 kB / 429.2 MB, free: 12.54 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches