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.001228/0.001228, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 208.6 kB / 18.74 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 55.91 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2304, allocations: 50.54 MB / 408.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007139/0.2376, allocations: 4.907 MB / 413.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000937/0.2386, allocations: 0.6309 MB / 414.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.069e-05/0.2387, allocations: 0 / 414.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.239, allocations: 27.77 kB / 414.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.2404, allocations: 0.5917 MB / 414.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.2407, allocations: 91.38 kB / 415 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.2409, allocations: 183.2 kB / 415.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.241, allocations: 11.98 kB / 415.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.2421, allocations: 0.608 MB / 415.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.2422, allocations: 51.83 kB / 415.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.2422, allocations: 4 kB / 415.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.2437, allocations: 0.8775 MB / 416.7 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.124e-05/0.2438, allocations: 27.89 kB / 416.8 MB, free: 9.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.769e-05/0.2438, allocations: 43.75 kB / 416.8 MB, free: 9.477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004516/0.2443, allocations: 242.3 kB / 417 MB, free: 9.242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.2443, allocations: 4 kB / 417 MB, free: 9.238 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2443, allocations: 0 / 417 MB, free: 9.238 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.2443, allocations: 0 / 417 MB, free: 9.238 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.0005446/0.2449, allocations: 430.7 kB / 417.5 MB, free: 8.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2449, allocations: 15.97 kB / 417.5 MB, free: 8.754 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.943e-05/0.245, allocations: 42.73 kB / 417.5 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003982/0.2454, allocations: 32.86 kB / 417.5 MB, free: 8.672 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.2457, allocations: 192.2 kB / 417.7 MB, free: 8.445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.2457, allocations: 12.12 kB / 417.7 MB, free: 8.434 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.2457, allocations: 12 kB / 417.8 MB, free: 8.422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.246, allocations: 139.1 kB / 417.9 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.246, allocations: 3.938 kB / 417.9 MB, free: 8.266 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.246, allocations: 4 kB / 417.9 MB, free: 8.262 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.246, allocations: 4 kB / 417.9 MB, free: 8.258 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.2462, allocations: 99.92 kB / 418 MB, free: 8.16 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.0007675/0.247, allocations: 0.6684 MB / 418.7 MB, free: 7.418 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.2471, allocations: 82.55 kB / 418.7 MB, free: 7.328 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.462e-05/0.2472, allocations: 36.84 kB / 418.8 MB, free: 7.289 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006686/0.2479, allocations: 0.8115 MB / 419.6 MB, free: 6.293 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.2479, allocations: 34.56 kB / 419.6 MB, free: 6.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.2479, allocations: 0 / 419.6 MB, free: 6.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003116/0.2483, allocations: 129.8 kB / 419.8 MB, free: 6.117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.2483, allocations: 67.33 kB / 419.8 MB, free: 6.039 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.2484, allocations: 109.8 kB / 419.9 MB, free: 5.922 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.2485, allocations: 29.7 kB / 420 MB, free: 5.887 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.361e-05/0.2485, allocations: 99.94 kB / 420.1 MB, free: 5.785 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.2486, allocations: 43.64 kB / 420.1 MB, free: 5.742 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.02e-05/0.2486, allocations: 41.66 kB / 420.1 MB, free: 5.695 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.2488, allocations: 318.8 kB / 420.5 MB, free: 5.375 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.18e-05/0.2488, allocations: 31.92 kB / 420.5 MB, free: 5.344 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.487e-05/0.2489, allocations: 69.2 kB / 420.6 MB, free: 5.258 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.2491, allocations: 108.7 kB / 420.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2491, allocations: 0 / 420.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002248/0.2493, allocations: 145.9 kB / 420.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2493, allocations: 8 kB / 420.8 MB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2493, allocations: 0 / 420.8 MB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.2494, allocations: 7.938 kB / 420.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.2495, allocations: 36.02 kB / 420.9 MB, free: 4.938 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.2495, allocations: 8 kB / 420.9 MB, free: 4.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.937e-05/0.2496, allocations: 11.89 kB / 420.9 MB, free: 4.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.2496, allocations: 8 kB / 420.9 MB, free: 4.91 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.0001055/0.2497, allocations: 125.8 kB / 421 MB, free: 4.777 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.2498, allocations: 7.953 kB / 421 MB, free: 4.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.2501, allocations: 134 kB / 421.1 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.2501, allocations: 8 kB / 421.1 MB, free: 4.617 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2501, allocations: 3.984 kB / 421.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2501, allocations: 0 / 421.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004761/0.2506, allocations: 394.3 kB / 421.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.2506, allocations: 3.984 kB / 421.5 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.88e-05/0.2507, allocations: 20 kB / 421.6 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2507, allocations: 0 / 421.6 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.2507, allocations: 7.984 kB / 421.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2507, allocations: 4 kB / 421.6 MB, free: 4.137 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.2507, allocations: 4 kB / 421.6 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.2509, allocations: 203 kB / 421.8 MB, free: 3.922 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.117e-05/0.251, allocations: 104.9 kB / 421.9 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.2511, allocations: 4 kB / 421.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.371e-05/0.2511, allocations: 0 / 421.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.313e-05/0.2512, allocations: 11.98 kB / 421.9 MB, free: 3.785 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.2512, allocations: 12 kB / 421.9 MB, free: 3.773 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.754e-05/0.2513, allocations: 91.27 kB / 422 MB, free: 3.684 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2513, allocations: 4 kB / 422 MB, free: 3.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003373/0.2516, allocations: 59.86 kB / 422.1 MB, free: 3.621 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.0007033/0.2523, allocations: 0.7981 MB / 422.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.2525, allocations: 84.19 kB / 422.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2525, allocations: 0 / 422.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.082e-05/0.2526, allocations: 43.91 kB / 423 MB, free: 2.672 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.253, allocations: 40.22 kB / 423 MB, free: 2.633 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.2547, allocations: 1.582 MB / 424.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.255, allocations: 0.6967 MB / 425.3 MB, free: 232 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.2551, allocations: 20.81 kB / 425.3 MB, free: 212 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.749e-05/0.2552, allocations: 35.42 kB / 425.3 MB, free: 176 kB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2552, allocations: 0 / 425.3 MB, free: 176 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/0.2819, allocations: 3.856 MB / 429.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/8.173, allocations: 4.5 kB / 429.2 MB, free: 12.41 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.1.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