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.001556/0.001556, allocations: 118.8 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001933/0.001933, allocations: 201.2 kB / 18.73 MB, free: 4.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 59.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2277, allocations: 50.54 MB / 408.7 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006231/0.2339, allocations: 4.922 MB / 413.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000762/0.2347, allocations: 0.6192 MB / 414.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.658e-05/0.2348, allocations: 0 / 414.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.235, allocations: 27.77 kB / 414.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.2363, allocations: 0.5878 MB / 414.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.2366, allocations: 91.48 kB / 415 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.2368, allocations: 183.2 kB / 415.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.502e-05/0.2368, allocations: 7.984 kB / 415.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009191/0.2378, allocations: 0.6119 MB / 415.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.35e-05/0.2379, allocations: 51.83 kB / 415.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.2379, allocations: 7.938 kB / 415.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.2391, allocations: 0.883 MB / 416.7 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.2392, allocations: 23.89 kB / 416.7 MB, free: 9.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.493e-05/0.2393, allocations: 51.73 kB / 416.8 MB, free: 9.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.2396, allocations: 231.5 kB / 417 MB, free: 9.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2396, allocations: 0 / 417 MB, free: 9.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.2396, allocations: 3.984 kB / 417 MB, free: 9.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.2397, allocations: 4 kB / 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.0004494/0.2401, allocations: 423.3 kB / 417.4 MB, free: 8.777 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.2402, allocations: 8.031 kB / 417.4 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.116e-05/0.2402, allocations: 42.73 kB / 417.5 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004011/0.2406, allocations: 32.81 kB / 417.5 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.2409, allocations: 200.1 kB / 417.7 MB, free: 8.453 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.2409, allocations: 12.12 kB / 417.7 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.2409, allocations: 8 kB / 417.7 MB, free: 8.434 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.2411, allocations: 135.3 kB / 417.9 MB, free: 8.285 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2411, allocations: 7.938 kB / 417.9 MB, free: 8.277 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.2412, allocations: 4 kB / 417.9 MB, free: 8.273 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2412, allocations: 4 kB / 417.9 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.2413, allocations: 103.9 kB / 418 MB, free: 8.168 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.0006782/0.242, allocations: 0.6644 MB / 418.6 MB, free: 7.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.2422, allocations: 82.55 kB / 418.7 MB, free: 7.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.523e-05/0.2422, allocations: 36.84 kB / 418.8 MB, free: 7.301 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005692/0.2428, allocations: 0.8115 MB / 419.6 MB, free: 6.305 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.2428, allocations: 34.56 kB / 419.6 MB, free: 6.262 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.2428, allocations: 4 kB / 419.6 MB, free: 6.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002825/0.2431, allocations: 129.9 kB / 419.7 MB, free: 6.125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.2432, allocations: 55.41 kB / 419.8 MB, free: 6.059 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.168e-05/0.2433, allocations: 121.7 kB / 419.9 MB, free: 5.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.2433, allocations: 29.7 kB / 419.9 MB, free: 5.895 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.2434, allocations: 99.88 kB / 420 MB, free: 5.793 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.2434, allocations: 43.36 kB / 420.1 MB, free: 5.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.2435, allocations: 37.7 kB / 420.1 MB, free: 5.707 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.2436, allocations: 322.8 kB / 420.4 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.15e-05/0.2436, allocations: 27.92 kB / 420.5 MB, free: 5.355 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.367e-05/0.2437, allocations: 69.05 kB / 420.5 MB, free: 5.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.2439, allocations: 108.6 kB / 420.6 MB, free: 5.148 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2439, allocations: 0 / 420.6 MB, free: 5.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002022/0.2441, allocations: 137.5 kB / 420.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.2441, allocations: 8 kB / 420.8 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.2441, allocations: 0 / 420.8 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.2441, allocations: 8.094 kB / 420.8 MB, free: 4.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.2443, allocations: 35.92 kB / 420.8 MB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.2443, allocations: 4 kB / 420.8 MB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.48e-05/0.2443, allocations: 11.84 kB / 420.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.2444, allocations: 8 kB / 420.8 MB, free: 4.934 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.538e-05/0.2445, allocations: 125.7 kB / 421 MB, free: 4.801 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.2445, allocations: 15.91 kB / 421 MB, free: 4.785 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.2448, allocations: 150.2 kB / 421.1 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2448, allocations: 4 kB / 421.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2448, allocations: 0 / 421.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2448, allocations: 0 / 421.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004127/0.2452, allocations: 386.4 kB / 421.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.2452, allocations: 0 / 421.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.308e-05/0.2453, allocations: 20 kB / 421.5 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2453, allocations: 0 / 421.5 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.2453, allocations: 7.984 kB / 421.5 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2454, allocations: 4 kB / 421.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2454, allocations: 4 kB / 421.5 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.2455, allocations: 206.7 kB / 421.7 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.244e-05/0.2456, allocations: 100.9 kB / 421.8 MB, free: 3.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.2456, allocations: 7.938 kB / 421.9 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.63e-05/0.2457, allocations: 0 / 421.9 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.2458, allocations: 11.98 kB / 421.9 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.2458, allocations: 11.98 kB / 421.9 MB, free: 3.789 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.357e-05/0.2458, allocations: 95.22 kB / 422 MB, free: 3.695 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2458, allocations: 0 / 422 MB, free: 3.695 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003084/0.2462, allocations: 55.98 kB / 422 MB, free: 3.641 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.000564/0.2467, allocations: 0.802 MB / 422.8 MB, free: 2.812 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.2469, allocations: 87.89 kB / 422.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2469, allocations: 0 / 422.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.743e-05/0.247, allocations: 39.92 kB / 423 MB, free: 2.688 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.2474, allocations: 44.27 kB / 423 MB, free: 2.645 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.2488, allocations: 1.571 MB / 424.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.2491, allocations: 0.7005 MB / 425.3 MB, free: 252 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001074/0.2492, allocations: 33.02 kB / 425.3 MB, free: 220 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.2493, allocations: 27.44 kB / 425.3 MB, free: 192 kB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2493, allocations: 0 / 425.3 MB, free: 192 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05741/0.3067, allocations: 3.878 MB / 429.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.741/8.048, allocations: 15.22 kB / 429.2 MB, free: 12.39 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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