Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_cpp_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_cpp_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008806/0.0008806, allocations: 196.3 kB / 17.38 MB, free: 4.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.231/1.231, allocations: 226.5 MB / 244.7 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007544/0.0007543, allocations: 100.9 kB / 296.7 MB, free: 6.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002171/0.0002172, allocations: 4 kB / 356.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1756, allocations: 51.28 MB / 408.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.003534/0.1791, allocations: 4.397 MB / 412.5 MB, free: 23.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00049/0.1796, allocations: 0.5622 MB / 413.1 MB, free: 22.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.386e-05/0.1797, allocations: 1.406 kB / 413.1 MB, free: 22.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.1799, allocations: 23.83 kB / 413.1 MB, free: 22.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00082/0.1807, allocations: 0.518 MB / 413.6 MB, free: 22.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.1809, allocations: 81.89 kB / 413.7 MB, free: 22.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.181, allocations: 191.2 kB / 413.9 MB, free: 21.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.687e-05/0.1811, allocations: 11.92 kB / 413.9 MB, free: 21.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008367/0.1819, allocations: 0.6669 MB / 414.6 MB, free: 21.22 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.547e-05/0.182, allocations: 47.83 kB / 414.6 MB, free: 21.17 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.182, allocations: 4 kB / 414.6 MB, free: 21.17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.1831, allocations: 0.9258 MB / 415.5 MB, free: 20.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.753e-05/0.1832, allocations: 27.89 kB / 415.6 MB, free: 20.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.856e-05/0.1832, allocations: 65.5 kB / 415.6 MB, free: 20.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.1834, allocations: 175.6 kB / 415.8 MB, free: 19.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1835, allocations: 7.938 kB / 415.8 MB, free: 19.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1835, allocations: 4 kB / 415.8 MB, free: 19.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1835, allocations: 0 / 415.8 MB, free: 19.96 MB / 298.7 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.0003006/0.1838, allocations: 403.3 kB / 416.2 MB, free: 19.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.1838, allocations: 8.031 kB / 416.2 MB, free: 19.51 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.375e-05/0.1839, allocations: 38.75 kB / 416.3 MB, free: 19.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003385/0.1842, allocations: 40.8 kB / 416.3 MB, free: 19.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.1843, allocations: 196.2 kB / 416.5 MB, free: 19.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1843, allocations: 12.06 kB / 416.5 MB, free: 19.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.1844, allocations: 12 kB / 416.5 MB, free: 19.17 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.1845, allocations: 127.5 kB / 416.6 MB, free: 19.03 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1846, allocations: 3.984 kB / 416.6 MB, free: 19.03 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.1846, allocations: 4 kB / 416.6 MB, free: 19.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1846, allocations: 4 kB / 416.7 MB, free: 19.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.1847, allocations: 107.9 kB / 416.8 MB, free: 18.91 MB / 298.7 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.0004695/0.1852, allocations: 0.6683 MB / 417.4 MB, free: 18.17 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.1853, allocations: 82.55 kB / 417.5 MB, free: 18.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.1854, allocations: 36.84 kB / 417.5 MB, free: 18.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003641/0.1857, allocations: 0.8154 MB / 418.4 MB, free: 17.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.4e-05/0.1858, allocations: 30.56 kB / 418.4 MB, free: 17 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.1858, allocations: 0 / 418.4 MB, free: 17 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002189/0.186, allocations: 133.9 kB / 418.5 MB, free: 16.87 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.732e-05/0.186, allocations: 55.41 kB / 418.6 MB, free: 16.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.534e-05/0.1861, allocations: 121.8 kB / 418.7 MB, free: 16.67 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.1861, allocations: 29.64 kB / 418.7 MB, free: 16.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.02e-05/0.1861, allocations: 103.9 kB / 418.8 MB, free: 16.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.1862, allocations: 39.36 kB / 418.9 MB, free: 16.49 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/0.1862, allocations: 4 kB / 418.9 MB, free: 16.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.545e-05/0.1862, allocations: 322.8 kB / 419.2 MB, free: 16.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.788e-05/0.1863, allocations: 19.98 kB / 419.2 MB, free: 16.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.645e-05/0.1863, allocations: 65.14 kB / 419.3 MB, free: 16.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.354e-05/0.1864, allocations: 108.3 kB / 419.4 MB, free: 15.94 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1864, allocations: 4 kB / 419.4 MB, free: 15.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001507/0.1866, allocations: 141.5 kB / 419.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.1866, allocations: 4 kB / 419.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.1866, allocations: 0 / 419.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1866, allocations: 7.938 kB / 419.5 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.1867, allocations: 31.92 kB / 419.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1867, allocations: 4 kB / 419.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.257e-05/0.1868, allocations: 15.84 kB / 419.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.1868, allocations: 8 kB / 419.6 MB, free: 15.72 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.474e-05/0.1869, allocations: 121.9 kB / 419.7 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.1869, allocations: 15.89 kB / 419.7 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.1871, allocations: 146.3 kB / 419.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1871, allocations: 4 kB / 419.9 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.1872, allocations: 0 / 419.9 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1872, allocations: 3.984 kB / 419.9 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/0.1875, allocations: 398.2 kB / 420.3 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1875, allocations: 0 / 420.3 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.825e-05/0.1875, allocations: 27.98 kB / 420.3 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1876, allocations: 0 / 420.3 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.1876, allocations: 0 / 420.3 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1876, allocations: 3.984 kB / 420.3 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1876, allocations: 4 kB / 420.3 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.1877, allocations: 199.4 kB / 420.5 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-05/0.1878, allocations: 100.9 kB / 420.6 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.1878, allocations: 8 kB / 420.6 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.94e-05/0.1879, allocations: 4 kB / 420.6 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-05/0.1879, allocations: 11.92 kB / 420.6 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.1879, allocations: 4 kB / 420.6 MB, free: 14.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.817e-05/0.1879, allocations: 95.2 kB / 420.7 MB, free: 14.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.188, allocations: 0 / 420.7 MB, free: 14.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002801/0.1882, allocations: 67.98 kB / 420.8 MB, free: 14.43 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004143/0.1887, allocations: 0.8021 MB / 421.6 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.1888, allocations: 79.91 kB / 421.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1888, allocations: 0 / 421.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/0.1888, allocations: 44.23 kB / 421.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.1892, allocations: 50.95 kB / 421.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006691/0.1899, allocations: 0.6892 MB / 422.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.021e-05/0.19, allocations: 0.6967 MB / 423.1 MB, free: 11.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.474e-05/0.1901, allocations: 39.41 kB / 423.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of SimCode: time 2.71e-07/0.1901, allocations: 0 / 423.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.676/2.866, allocations: 2.416 MB / 425.6 MB, free: 9.496 MB / 298.7 MB (rm -f Modelica_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches