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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001282/0.001282, allocations: 120.1 kB / 18.49 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001412/0.001412, allocations: 214.2 kB / 21.45 MB, free: 1.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 230.4 MB / 254.7 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 67.91 kB / 373.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09414/0.09589, allocations: 53.36 MB / 427 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.1784/0.2743, allocations: 4.934 MB / 432 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008996/0.2752, allocations: 0.617 MB / 432.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.74e-05/0.2753, allocations: 1.531 kB / 432.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.2756, allocations: 31 kB / 432.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.2769, allocations: 0.5916 MB / 433.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.2772, allocations: 96.42 kB / 433.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.2774, allocations: 177.4 kB / 433.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.776e-05/0.2774, allocations: 6.016 kB / 433.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008935/0.2783, allocations: 0.618 MB / 434.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.64e-05/0.2784, allocations: 47.31 kB / 434.1 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.2784, allocations: 5.75 kB / 434.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.2797, allocations: 0.8902 MB / 435 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.09e-05/0.2798, allocations: 23.81 kB / 435.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.332e-05/0.2798, allocations: 45.58 kB / 435.1 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004078/0.2802, allocations: 246.3 kB / 435.4 MB, free: 7.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.2802, allocations: 0 / 435.4 MB, free: 7.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2802, allocations: 0 / 435.4 MB, free: 7.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.2802, allocations: 1.953 kB / 435.4 MB, free: 7.426 MB / 350.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.0004324/0.2807, allocations: 426.1 kB / 435.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.2807, allocations: 14.31 kB / 435.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.492e-05/0.2807, allocations: 3.188 kB / 435.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.938e-05/0.2808, allocations: 43.38 kB / 435.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003832/0.2811, allocations: 37.7 kB / 435.9 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.2814, allocations: 197.2 kB / 436.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.507e-06/0.2814, allocations: 6.906 kB / 436.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.2814, allocations: 12.83 kB / 436.1 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.2816, allocations: 142.8 kB / 436.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2816, allocations: 0 / 436.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.2816, allocations: 4.312 kB / 436.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2817, allocations: 3 kB / 436.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.2818, allocations: 110.2 kB / 436.3 MB, free: 6.695 MB / 350.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.0005808/0.2824, allocations: 0.6607 MB / 437 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.2826, allocations: 77.42 kB / 437.1 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.608e-05/0.2826, allocations: 33.92 kB / 437.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003875/0.283, allocations: 0.8069 MB / 437.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.283, allocations: 36.3 kB / 437.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.894e-06/0.283, allocations: 5.688 kB / 438 MB, free: 5.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002973/0.2833, allocations: 125.3 kB / 438.1 MB, free: 5.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.2833, allocations: 61.44 kB / 438.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.624e-05/0.2834, allocations: 116.2 kB / 438.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.2834, allocations: 25.7 kB / 438.3 MB, free: 4.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.626e-05/0.2835, allocations: 107.4 kB / 438.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.2835, allocations: 43.75 kB / 438.4 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/0.2835, allocations: 40.89 kB / 438.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.878e-05/0.2836, allocations: 322.9 kB / 438.8 MB, free: 4.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.363e-05/0.2836, allocations: 23.02 kB / 438.8 MB, free: 4.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.883e-05/0.2837, allocations: 74.84 kB / 438.9 MB, free: 4.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.2838, allocations: 110.4 kB / 439 MB, free: 4.289 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2838, allocations: 0 / 439 MB, free: 4.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001934/0.284, allocations: 138.2 kB / 439.1 MB, free: 4.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.284, allocations: 5.875 kB / 439.1 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.284, allocations: 2.984 kB / 439.1 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.2841, allocations: 10.41 kB / 439.1 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.2842, allocations: 33.66 kB / 439.2 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.2842, allocations: 2.781 kB / 439.2 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.678e-05/0.2842, allocations: 15.98 kB / 439.2 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.2843, allocations: 11.42 kB / 439.2 MB, free: 4.219 MB / 350.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 5.968e-05/0.2843, allocations: 122.6 kB / 439.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.2843, allocations: 10.19 kB / 439.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002658/0.2846, allocations: 143 kB / 439.5 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2846, allocations: 0.9062 kB / 439.5 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.2846, allocations: 1.156 kB / 439.5 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2846, allocations: 0.75 kB / 439.5 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.285, allocations: 404.7 kB / 439.9 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.285, allocations: 0.7031 kB / 439.9 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.609e-05/0.2851, allocations: 21.69 kB / 439.9 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2851, allocations: 4.5 kB / 439.9 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.2851, allocations: 5.688 kB / 439.9 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2851, allocations: 4 kB / 439.9 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2851, allocations: 0.5156 kB / 439.9 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.2852, allocations: 206.1 kB / 440.1 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.2853, allocations: 95.67 kB / 440.2 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.2853, allocations: 1.812 kB / 440.2 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.289e-05/0.2854, allocations: 6.141 kB / 440.2 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.2854, allocations: 7.234 kB / 440.2 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.2854, allocations: 10.86 kB / 440.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.597e-05/0.2855, allocations: 90.64 kB / 440.3 MB, free: 3.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2855, allocations: 0 / 440.3 MB, free: 3.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003502/0.2858, allocations: 65.56 kB / 440.4 MB, free: 3.398 MB / 350.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.0004765/0.2863, allocations: 0.803 MB / 441.2 MB, free: 2.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001766/0.2865, allocations: 79.39 kB / 441.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2865, allocations: 3.938 kB / 441.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.226e-05/0.2865, allocations: 33.67 kB / 441.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.287, allocations: 40.83 kB / 441.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.2882, allocations: 1.577 MB / 442.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.2883, allocations: 0.6972 MB / 443.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.2884, allocations: 36.36 kB / 443.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/0.2885, allocations: 31.67 kB / 443.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2885, allocations: 0 / 443.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.3086, allocations: 3.903 MB / 447.6 MB, free: 92 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.89/8.199, allocations: 7.812 kB / 447.6 MB, free: 88 kB / 350.1 MB " [Timeout remaining time 652] (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 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.599988945003133]