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.001148/0.001148, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001294, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 63.89 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2527, allocations: 50.54 MB / 408.7 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006578/0.2594, allocations: 4.926 MB / 413.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008204/0.2602, allocations: 0.6192 MB / 414.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.615e-05/0.2603, allocations: 0 / 414.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.2605, allocations: 23.84 kB / 414.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.262, allocations: 0.5878 MB / 414.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.2622, allocations: 99.28 kB / 415 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.2625, allocations: 179.3 kB / 415.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.687e-05/0.2625, allocations: 8 kB / 415.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009799/0.2635, allocations: 0.6119 MB / 415.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.313e-05/0.2636, allocations: 47.77 kB / 415.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.2636, allocations: 4 kB / 415.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.265, allocations: 0.8869 MB / 416.7 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.616e-05/0.2651, allocations: 23.92 kB / 416.7 MB, free: 9.527 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.712e-05/0.2652, allocations: 47.78 kB / 416.8 MB, free: 9.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000576/0.2658, allocations: 239.4 kB / 417 MB, free: 9.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2658, allocations: 0 / 417 MB, free: 9.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2658, allocations: 0 / 417 MB, free: 9.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.2658, allocations: 4 kB / 417 MB, free: 9.242 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.0006016/0.2664, allocations: 427.2 kB / 417.4 MB, free: 8.777 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.2665, allocations: 12.03 kB / 417.5 MB, free: 8.766 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.126e-05/0.2665, allocations: 34.75 kB / 417.5 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004244/0.267, allocations: 36.81 kB / 417.5 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.2672, allocations: 200.2 kB / 417.7 MB, free: 8.453 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.2673, allocations: 8.125 kB / 417.7 MB, free: 8.445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.2673, allocations: 8 kB / 417.7 MB, free: 8.438 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.2676, allocations: 143.4 kB / 417.9 MB, free: 8.281 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.2676, allocations: 0 / 417.9 MB, free: 8.281 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.2676, allocations: 4 kB / 417.9 MB, free: 8.277 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.2676, allocations: 4 kB / 417.9 MB, free: 8.273 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.2678, allocations: 107.8 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.0006998/0.2685, allocations: 0.6605 MB / 418.6 MB, free: 7.434 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.2687, allocations: 82.55 kB / 418.7 MB, free: 7.344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.944e-05/0.2687, allocations: 40.84 kB / 418.8 MB, free: 7.301 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005484/0.2693, allocations: 0.8076 MB / 419.6 MB, free: 6.309 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.2693, allocations: 38.56 kB / 419.6 MB, free: 6.262 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.2693, allocations: 0 / 419.6 MB, free: 6.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002822/0.2696, allocations: 137.5 kB / 419.7 MB, free: 6.125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.2697, allocations: 59.34 kB / 419.8 MB, free: 6.055 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.958e-05/0.2698, allocations: 113.8 kB / 419.9 MB, free: 5.934 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.2698, allocations: 25.7 kB / 419.9 MB, free: 5.902 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.628e-05/0.2698, allocations: 103.9 kB / 420 MB, free: 5.797 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.2699, allocations: 43.36 kB / 420.1 MB, free: 5.754 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.2699, allocations: 41.7 kB / 420.1 MB, free: 5.707 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2701, allocations: 314.8 kB / 420.4 MB, free: 5.391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.253e-05/0.2701, allocations: 27.98 kB / 420.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.548e-05/0.2702, allocations: 71.84 kB / 420.5 MB, free: 5.277 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.2703, allocations: 109 kB / 420.6 MB, free: 5.152 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.2704, allocations: 384 / 420.6 MB, free: 5.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002045/0.2706, allocations: 133.5 kB / 420.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2706, allocations: 8.156 kB / 420.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.2706, allocations: 4 kB / 420.8 MB, free: 5.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.2706, allocations: 7.875 kB / 420.8 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.2708, allocations: 31.98 kB / 420.8 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.2708, allocations: 11.92 kB / 420.8 MB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.761e-05/0.2708, allocations: 11.84 kB / 420.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.2709, 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 8.803e-05/0.271, allocations: 121.8 kB / 421 MB, free: 4.805 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.835e-05/0.271, allocations: 11.89 kB / 421 MB, free: 4.793 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.2713, allocations: 153.8 kB / 421.1 MB, free: 4.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.2713, allocations: 4 kB / 421.1 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2713, allocations: 0 / 421.1 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2713, allocations: 0 / 421.1 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004872/0.2718, allocations: 389.9 kB / 421.5 MB, free: 4.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2718, allocations: 4 kB / 421.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.91e-05/0.2719, allocations: 23.92 kB / 421.5 MB, free: 4.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2719, allocations: 4 kB / 421.5 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.2719, allocations: 4 kB / 421.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2719, allocations: 0 / 421.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2719, allocations: 0 / 421.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.2721, allocations: 207.4 kB / 421.8 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.305e-05/0.2722, allocations: 104.9 kB / 421.9 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.2722, allocations: 0 / 421.9 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.474e-05/0.2723, allocations: 8 kB / 421.9 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.2724, allocations: 15.92 kB / 421.9 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.2724, allocations: 4 kB / 421.9 MB, free: 3.789 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.915e-05/0.2724, allocations: 91.27 kB / 422 MB, free: 3.699 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2724, allocations: 0 / 422 MB, free: 3.699 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003216/0.2728, allocations: 56 kB / 422 MB, free: 3.645 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.0006069/0.2734, allocations: 0.8023 MB / 422.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001739/0.2736, allocations: 83.91 kB / 422.9 MB, free: 2.734 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2736, allocations: 320 / 422.9 MB, free: 2.734 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.186e-05/0.2736, allocations: 47.86 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.0003964/0.274, allocations: 39.95 kB / 423 MB, free: 2.648 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.2755, allocations: 1.583 MB / 424.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.2757, allocations: 0.6889 MB / 425.3 MB, free: 256 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.2758, allocations: 36.92 kB / 425.3 MB, free: 220 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.278e-05/0.2759, allocations: 27.42 kB / 425.3 MB, free: 192 kB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2759, allocations: 0 / 425.3 MB, free: 192 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/0.2952, allocations: 3.874 MB / 429.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.321/7.616, allocations: 4.5 kB / 429.2 MB, free: 12.4 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