Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 114.5 kB / 17.73 MB, free: 5.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 187 kB / 18.66 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 51.92 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08131/0.08272, allocations: 46.61 MB / 374.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.1923/0.2751, allocations: 7.757 MB / 382.4 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009408/0.2761, allocations: 0.624 MB / 383 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.2762, allocations: 1.375 kB / 383 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.2765, allocations: 26.02 kB / 383 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002433/0.279, allocations: 0.5834 MB / 383.6 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.2794, allocations: 99.33 kB / 383.7 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005435/0.2799, allocations: 179.4 kB / 383.9 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.24e-05/0.28, allocations: 5.734 kB / 383.9 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001595/0.2816, allocations: 0.6196 MB / 384.5 MB, free: 8.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.2818, allocations: 50.16 kB / 384.6 MB, free: 8.531 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.2818, allocations: 6.062 kB / 384.6 MB, free: 8.531 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/0.2836, allocations: 0.8494 MB / 385.4 MB, free: 8.453 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.1e-05/0.2836, allocations: 22.28 kB / 385.4 MB, free: 8.445 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.514e-05/0.2837, allocations: 44.05 kB / 385.5 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007358/0.2845, allocations: 234.7 kB / 385.7 MB, free: 8.387 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2845, allocations: 0.9375 kB / 385.7 MB, free: 8.387 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.2845, allocations: 0 / 385.7 MB, free: 8.387 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.2845, allocations: 0 / 385.7 MB, free: 8.387 MB / 318.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.0007556/0.2853, allocations: 418.1 kB / 386.1 MB, free: 8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.2853, allocations: 14.78 kB / 386.1 MB, free: 7.996 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.483e-05/0.2854, allocations: 43.48 kB / 386.2 MB, free: 7.957 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000519/0.2859, allocations: 31.3 kB / 386.2 MB, free: 7.953 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.2863, allocations: 202 kB / 386.4 MB, free: 7.742 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.2863, allocations: 7.438 kB / 386.4 MB, free: 7.742 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.2863, allocations: 14.52 kB / 386.4 MB, free: 7.738 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.2866, allocations: 145.3 kB / 386.6 MB, free: 7.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.2866, allocations: 2.297 kB / 386.6 MB, free: 7.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.2867, allocations: 4.125 kB / 386.6 MB, free: 7.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.423e-06/0.2867, allocations: 6.891 kB / 386.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.2869, allocations: 109.8 kB / 386.7 MB, free: 7.652 MB / 318.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.0006778/0.2876, allocations: 0.6649 MB / 387.3 MB, free: 7.059 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.2877, allocations: 86.28 kB / 387.4 MB, free: 7.031 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.174e-05/0.2878, allocations: 39.53 kB / 387.5 MB, free: 7.023 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004705/0.2883, allocations: 0.8087 MB / 388.3 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.2883, allocations: 31.72 kB / 388.3 MB, free: 6.043 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.2883, allocations: 0 / 388.3 MB, free: 6.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003245/0.2887, allocations: 125.4 kB / 388.4 MB, free: 6.004 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.2887, allocations: 60.66 kB / 388.5 MB, free: 5.938 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.012e-05/0.2888, allocations: 120.4 kB / 388.6 MB, free: 5.832 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.2888, allocations: 30.83 kB / 388.6 MB, free: 5.801 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.2889, allocations: 100.7 kB / 388.7 MB, free: 5.707 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.2889, allocations: 41.33 kB / 388.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.423e-05/0.289, allocations: 35.77 kB / 388.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.624e-05/0.289, allocations: 320.5 kB / 389.1 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.442e-05/0.2891, allocations: 25.25 kB / 389.1 MB, free: 5.348 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.75e-05/0.2892, allocations: 67.28 kB / 389.2 MB, free: 5.301 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.2893, allocations: 108.9 kB / 389.3 MB, free: 5.242 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2893, allocations: 1.031 kB / 389.3 MB, free: 5.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002224/0.2896, allocations: 133.7 kB / 389.5 MB, free: 5.199 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.2896, allocations: 6.453 kB / 389.5 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.2896, allocations: 1.281 kB / 389.5 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.2896, allocations: 5.938 kB / 389.5 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.2898, allocations: 33.95 kB / 389.5 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.2898, allocations: 10.83 kB / 389.5 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.198e-05/0.2899, allocations: 11.56 kB / 389.5 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.2899, allocations: 11.83 kB / 389.5 MB, free: 5.18 MB / 318.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 6.935e-05/0.29, allocations: 122.6 kB / 389.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.29, allocations: 9.188 kB / 389.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.2903, allocations: 161 kB / 389.8 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2903, allocations: 5.156 kB / 389.8 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.2903, allocations: 5.875 kB / 389.8 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2903, allocations: 1.031 kB / 389.8 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004156/0.2908, allocations: 392.9 kB / 390.2 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.2908, allocations: 0 / 390.2 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.082e-05/0.2909, allocations: 28.97 kB / 390.2 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.2909, allocations: 5 kB / 390.2 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.2909, allocations: 3.203 kB / 390.3 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2909, allocations: 0 / 390.3 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2909, allocations: 1.062 kB / 390.3 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.2911, allocations: 201.9 kB / 390.4 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.145e-05/0.2912, allocations: 103 kB / 390.5 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.2912, allocations: 4 kB / 390.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.2913, allocations: 1.828 kB / 390.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.2914, allocations: 10.64 kB / 390.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.2914, allocations: 6.641 kB / 390.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.679e-05/0.2914, allocations: 90.88 kB / 390.7 MB, free: 4.352 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.2914, allocations: 4 kB / 390.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004116/0.2919, allocations: 58.48 kB / 390.7 MB, free: 4.34 MB / 318.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.000657/0.2925, allocations: 0.7968 MB / 391.5 MB, free: 3.652 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.2927, allocations: 86.5 kB / 391.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2928, allocations: 0 / 391.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.625e-05/0.2928, allocations: 38.28 kB / 391.6 MB, free: 3.617 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004682/0.2933, allocations: 44.81 kB / 391.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.2949, allocations: 1.571 MB / 393.3 MB, free: 2.215 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.295, allocations: 0.6972 MB / 394 MB, free: 1.516 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001403/0.2952, allocations: 31.56 kB / 394 MB, free: 1.504 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.901e-05/0.2952, allocations: 38.39 kB / 394 MB, free: 1.48 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2952, allocations: 0 / 394 MB, free: 1.48 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02613/0.3214, allocations: 3.818 MB / 397.8 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.786/8.107, allocations: 1.281 kB / 397.8 MB, free: 0.7383 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches