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.001244/0.001244, allocations: 122.8 kB / 17.79 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.001343/0.001343, allocations: 202 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.363/1.363, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 59.89 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2386, allocations: 50.55 MB / 408.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007776/0.2464, allocations: 4.918 MB / 413.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.2475, allocations: 0.627 MB / 414.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.031e-05/0.2476, allocations: 0 / 414.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.2478, allocations: 27.78 kB / 414.4 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001673/0.2495, allocations: 0.5917 MB / 415 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.2498, allocations: 87.86 kB / 415.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.2501, allocations: 183.2 kB / 415.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.909e-05/0.2502, allocations: 8 kB / 415.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.2513, allocations: 0.6158 MB / 415.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.446e-05/0.2514, allocations: 39.84 kB / 415.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.2514, allocations: 4 kB / 415.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001496/0.2529, allocations: 0.8853 MB / 416.8 MB, free: 9.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.354e-05/0.253, allocations: 23.92 kB / 416.8 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.191e-05/0.253, allocations: 51.72 kB / 416.9 MB, free: 9.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004588/0.2535, allocations: 238.3 kB / 417.1 MB, free: 9.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.2535, allocations: 0 / 417.1 MB, free: 9.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2535, allocations: 0 / 417.1 MB, free: 9.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.2535, allocations: 4 kB / 417.1 MB, free: 9.176 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.000532/0.2541, allocations: 430.7 kB / 417.5 MB, free: 8.707 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.2541, allocations: 15.97 kB / 417.5 MB, free: 8.691 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.741e-05/0.2542, allocations: 38.75 kB / 417.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003789/0.2546, allocations: 32.86 kB / 417.6 MB, free: 8.613 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.2548, allocations: 204.2 kB / 417.8 MB, free: 8.375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.2549, allocations: 4.125 kB / 417.8 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.2549, allocations: 12 kB / 417.8 MB, free: 8.359 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.2551, allocations: 143.4 kB / 418 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2552, allocations: 0 / 418 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.2552, allocations: 0 / 418 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.2552, allocations: 4 kB / 418 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.2554, allocations: 107.9 kB / 418.1 MB, free: 8.094 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.000778/0.2562, allocations: 0.6606 MB / 418.7 MB, free: 7.359 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.2563, allocations: 82.55 kB / 418.8 MB, free: 7.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.717e-05/0.2564, allocations: 40.84 kB / 418.8 MB, free: 7.227 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007169/0.2571, allocations: 0.8076 MB / 419.7 MB, free: 6.234 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.2572, allocations: 42.5 kB / 419.7 MB, free: 6.184 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.2572, allocations: 0 / 419.7 MB, free: 6.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003049/0.2575, allocations: 129.2 kB / 419.8 MB, free: 6.055 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.2576, allocations: 55.41 kB / 419.9 MB, free: 5.988 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.2577, allocations: 121.8 kB / 420 MB, free: 5.859 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.2577, allocations: 25.7 kB / 420 MB, free: 5.828 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.904e-05/0.2578, allocations: 103.9 kB / 420.1 MB, free: 5.723 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.2578, allocations: 43.64 kB / 420.2 MB, free: 5.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.969e-05/0.2579, allocations: 45.66 kB / 420.2 MB, free: 5.629 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.258, allocations: 318.8 kB / 420.5 MB, free: 5.309 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.804e-05/0.2581, allocations: 31.98 kB / 420.5 MB, free: 5.277 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.134e-05/0.2582, allocations: 69.14 kB / 420.6 MB, free: 5.191 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.2584, allocations: 105.1 kB / 420.7 MB, free: 5.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2584, allocations: 0 / 420.7 MB, free: 5.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002284/0.2586, allocations: 141.9 kB / 420.9 MB, free: 4.926 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.2586, allocations: 4 kB / 420.9 MB, free: 4.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2586, allocations: 8.156 kB / 420.9 MB, free: 4.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.2587, allocations: 3.938 kB / 420.9 MB, free: 4.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.2588, allocations: 35.86 kB / 420.9 MB, free: 4.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.2588, allocations: 4 kB / 420.9 MB, free: 4.871 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.75e-05/0.2589, allocations: 15.89 kB / 420.9 MB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.2589, allocations: 8 kB / 420.9 MB, free: 4.848 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.0001056/0.259, allocations: 121.8 kB / 421.1 MB, free: 4.719 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.259, allocations: 7.953 kB / 421.1 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002903/0.2593, allocations: 149.6 kB / 421.2 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2594, allocations: 4 kB / 421.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.2594, allocations: 0 / 421.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.2594, allocations: 3.984 kB / 421.2 MB, free: 4.547 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/0.2599, allocations: 394.3 kB / 421.6 MB, free: 4.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2599, allocations: 4 kB / 421.6 MB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.566e-05/0.26, allocations: 19.98 kB / 421.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.26, allocations: 0 / 421.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.26, allocations: 8 kB / 421.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.26, allocations: 0 / 421.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.26, allocations: 0 / 421.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.2602, allocations: 211.3 kB / 421.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.408e-05/0.2603, allocations: 101 kB / 421.9 MB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.2603, allocations: 3.938 kB / 421.9 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.558e-05/0.2604, allocations: 8 kB / 421.9 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.2605, allocations: 11.98 kB / 422 MB, free: 3.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.2605, allocations: 4 kB / 422 MB, free: 3.707 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.621e-05/0.2605, allocations: 91.27 kB / 422.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2605, allocations: 0 / 422.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003308/0.2609, allocations: 59.88 kB / 422.1 MB, free: 3.559 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.0007004/0.2616, allocations: 0.8059 MB / 422.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001814/0.2618, allocations: 84.19 kB / 423 MB, free: 2.645 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2618, allocations: 0 / 423 MB, free: 2.645 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.073e-05/0.2619, allocations: 47.61 kB / 423 MB, free: 2.602 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.2623, allocations: 39.89 kB / 423.1 MB, free: 2.562 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.264, allocations: 1.563 MB / 424.6 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.2644, allocations: 0.7005 MB / 425.3 MB, free: 172 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.2645, allocations: 32.8 kB / 425.4 MB, free: 140 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.817e-05/0.2646, allocations: 27.42 kB / 425.4 MB, free: 112 kB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2646, allocations: 0 / 425.4 MB, free: 112 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.2912, allocations: 3.855 MB / 429.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.771/8.062, allocations: 11.16 kB / 429.3 MB, free: 12.35 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.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