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.001346/0.001346, allocations: 109.8 kB / 17.33 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001638/0.001638, allocations: 201.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 227.4 MB / 246.4 MB, free: 9.078 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 63.48 kB / 306.5 MB, free: 0.6172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07604/0.07706, allocations: 50.53 MB / 357.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.005813/0.08289, allocations: 4.962 MB / 362 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007373/0.08365, allocations: 0.6193 MB / 362.7 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.19e-05/0.08371, allocations: 0 / 362.7 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.0839, allocations: 23.89 kB / 362.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.08506, allocations: 0.5492 MB / 363.2 MB, free: 7.898 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.08528, allocations: 83.7 kB / 363.3 MB, free: 7.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.08548, allocations: 179.3 kB / 363.5 MB, free: 7.645 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.407e-05/0.08552, allocations: 8 kB / 363.5 MB, free: 7.637 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.08666, allocations: 0.7209 MB / 364.2 MB, free: 6.914 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.08677, allocations: 51.77 kB / 364.3 MB, free: 6.863 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.0868, allocations: 4 kB / 364.3 MB, free: 6.859 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.08816, allocations: 0.9945 MB / 365.3 MB, free: 5.863 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.248e-05/0.08821, allocations: 27.86 kB / 365.3 MB, free: 5.836 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.605e-05/0.08828, allocations: 47.78 kB / 365.3 MB, free: 5.789 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003791/0.08866, allocations: 239.5 kB / 365.6 MB, free: 5.555 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.08867, allocations: 0 / 365.6 MB, free: 5.555 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.08868, allocations: 0 / 365.6 MB, free: 5.555 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.08869, allocations: 4 kB / 365.6 MB, free: 5.551 MB / 302.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.0003909/0.08908, allocations: 431.1 kB / 366 MB, free: 5.082 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.08912, allocations: 8.031 kB / 366 MB, free: 5.074 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.965e-05/0.08916, allocations: 46.67 kB / 366.1 MB, free: 5.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000344/0.08951, allocations: 40.75 kB / 366.1 MB, free: 4.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.08967, allocations: 184.4 kB / 366.3 MB, free: 4.762 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.08968, allocations: 8.125 kB / 366.3 MB, free: 4.754 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.0897, allocations: 8 kB / 366.3 MB, free: 4.746 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.08991, allocations: 143.4 kB / 366.4 MB, free: 4.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.08992, allocations: 0 / 366.4 MB, free: 4.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.08994, allocations: 4 kB / 366.4 MB, free: 4.586 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.08995, allocations: 3.984 kB / 366.4 MB, free: 4.582 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.09011, allocations: 115.8 kB / 366.5 MB, free: 4.469 MB / 302.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.0005638/0.09069, allocations: 0.6606 MB / 367.2 MB, free: 3.734 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.09082, allocations: 90.48 kB / 367.3 MB, free: 3.637 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.179e-05/0.09087, allocations: 40.84 kB / 367.3 MB, free: 3.594 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004969/0.09138, allocations: 0.8076 MB / 368.1 MB, free: 2.602 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.09141, allocations: 34.56 kB / 368.2 MB, free: 2.559 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 2.455e-06/0.09141, allocations: 4 kB / 368.2 MB, free: 2.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.000236/0.09166, allocations: 121.7 kB / 368.3 MB, free: 2.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.09169, allocations: 63.28 kB / 368.4 MB, free: 2.355 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.877e-05/0.09176, allocations: 117.8 kB / 368.5 MB, free: 2.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.09179, allocations: 25.7 kB / 368.5 MB, free: 2.199 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.747e-05/0.09184, allocations: 103.8 kB / 368.6 MB, free: 2.094 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.09187, allocations: 43.3 kB / 368.6 MB, free: 2.051 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.09192, allocations: 42.08 kB / 368.7 MB, free: 2.004 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.107e-05/0.09201, allocations: 322.8 kB / 369 MB, free: 1.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.456e-05/0.09206, allocations: 27.98 kB / 369 MB, free: 1.652 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.203e-05/0.09213, allocations: 61.14 kB / 369.1 MB, free: 1.574 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.09225, allocations: 113.3 kB / 369.2 MB, free: 1.445 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.09226, allocations: 0 / 369.2 MB, free: 1.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000185/0.09245, allocations: 140.9 kB / 369.3 MB, free: 1.305 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.09247, allocations: 7.938 kB / 369.3 MB, free: 1.297 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.09248, allocations: 4 kB / 369.3 MB, free: 1.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.0925, allocations: 3.938 kB / 369.4 MB, free: 1.289 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.09261, allocations: 36.14 kB / 369.4 MB, free: 1.254 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.09262, allocations: 4 kB / 369.4 MB, free: 1.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.624e-05/0.09268, allocations: 15.84 kB / 369.4 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.0927, allocations: 11.98 kB / 369.4 MB, free: 1.223 MB / 302.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 7.775e-05/0.09279, allocations: 126.8 kB / 369.5 MB, free: 1.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.09282, allocations: 11.89 kB / 369.6 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/0.09308, allocations: 142 kB / 369.7 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.09309, allocations: 0 / 369.7 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.0931, allocations: 3.938 kB / 369.7 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.09311, allocations: 7.969 kB / 369.7 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/0.09348, allocations: 390.3 kB / 370.1 MB, free: 496 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.0935, allocations: 0 / 370.1 MB, free: 496 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.135e-05/0.09357, allocations: 23.92 kB / 370.1 MB, free: 472 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.09358, allocations: 0 / 370.1 MB, free: 472 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.0936, allocations: 4 kB / 370.1 MB, free: 468 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.0936, allocations: 7.984 kB / 370.1 MB, free: 460 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.09361, allocations: 0 / 370.1 MB, free: 460 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.09378, allocations: 207.4 kB / 370.3 MB, free: 236 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.615e-05/0.09385, allocations: 96.94 kB / 370.4 MB, free: 120 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.09387, allocations: 0 / 370.4 MB, free: 120 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.238e-05/0.09396, allocations: 8 kB / 370.4 MB, free: 112 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.845e-05/0.09399, allocations: 7.984 kB / 370.4 MB, free: 104 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.09401, allocations: 8 kB / 370.4 MB, free: 96 kB / 302.1 MB Notification: Performance of sorting global known variables: time 4.052e-05/0.09405, allocations: 91.27 kB / 370.5 MB, free: 4 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09406, allocations: 0 / 370.5 MB, free: 4 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.1261/0.2201, allocations: 58.97 kB / 370.6 MB, free: 20.75 MB / 302.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.0005707/0.2207, allocations: 0.8028 MB / 371.4 MB, free: 20.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000182/0.2209, allocations: 92.48 kB / 371.5 MB, free: 20.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2209, allocations: 1.969 kB / 371.5 MB, free: 20.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.634e-05/0.221, allocations: 43.67 kB / 371.5 MB, free: 20.1 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.2215, allocations: 36.14 kB / 371.6 MB, free: 20.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.2226, allocations: 1.591 MB / 373.2 MB, free: 18.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.2228, allocations: 0.6963 MB / 373.8 MB, free: 18.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001541/0.2229, allocations: 36.03 kB / 373.9 MB, free: 18.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.193e-05/0.223, allocations: 29.53 kB / 373.9 MB, free: 18.13 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.223, allocations: 0 / 373.9 MB, free: 18.13 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.625/2.848, allocations: 3.825 MB / 377.7 MB, free: 17.76 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/2.848, allocations: 203.1 kB / 377.9 MB, free: 17.5 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/4.91, allocations: 7.938 kB / 377.9 MB, free: 17.49 MB / 302.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