Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.0008828/0.0008825, allocations: 175.5 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.228/1.228, allocations: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007098/0.0007098, allocations: 95.75 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002869/0.0002869, allocations: 8 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.1999, allocations: 47.58 MB / 375.2 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.005959/0.2059, allocations: 7.004 MB / 382.2 MB, free: 39.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005685/0.2065, allocations: 0.579 MB / 382.8 MB, free: 39.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.291e-05/0.2065, allocations: 0.9688 kB / 382.8 MB, free: 39.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.2067, allocations: 22.84 kB / 382.8 MB, free: 39.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009922/0.2077, allocations: 0.5071 MB / 383.3 MB, free: 39.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.2079, allocations: 88.75 kB / 383.4 MB, free: 38.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.2081, allocations: 190.8 kB / 383.6 MB, free: 38.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.753e-05/0.2082, allocations: 4.75 kB / 383.6 MB, free: 38.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009843/0.2091, allocations: 0.6671 MB / 384.2 MB, free: 38.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.907e-05/0.2092, allocations: 52.02 kB / 384.3 MB, free: 38.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.2093, allocations: 2.469 kB / 384.3 MB, free: 38.6 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.2105, allocations: 0.9029 MB / 385.2 MB, free: 38.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.026e-05/0.2106, allocations: 17.36 kB / 385.2 MB, free: 38.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.139e-05/0.2107, allocations: 71.08 kB / 385.3 MB, free: 38.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.2109, allocations: 175.2 kB / 385.5 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2109, allocations: 4 kB / 385.5 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.211, allocations: 0 / 385.5 MB, free: 38.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.211, allocations: 1.344 kB / 385.5 MB, free: 38.09 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.0003276/0.2113, allocations: 389.8 kB / 385.8 MB, free: 37.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.2113, allocations: 9.375 kB / 385.9 MB, free: 37.69 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.268e-05/0.2114, allocations: 50.02 kB / 385.9 MB, free: 37.63 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003353/0.2117, allocations: 35.75 kB / 385.9 MB, free: 37.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.2119, allocations: 197 kB / 386.1 MB, free: 37.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.2119, allocations: 4.438 kB / 386.1 MB, free: 37.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.2119, allocations: 13.59 kB / 386.1 MB, free: 37.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.2121, allocations: 140.4 kB / 386.3 MB, free: 37.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.2121, allocations: 0 / 386.3 MB, free: 37.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.2121, allocations: 2.031 kB / 386.3 MB, free: 37.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.2121, allocations: 2.375 kB / 386.3 MB, free: 37.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.2123, allocations: 111.7 kB / 386.4 MB, free: 37.21 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.0005013/0.2128, allocations: 0.6655 MB / 387.1 MB, free: 36.53 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.2129, allocations: 87.14 kB / 387.1 MB, free: 36.47 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.264e-05/0.213, allocations: 38.19 kB / 387.2 MB, free: 36.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003902/0.2134, allocations: 0.8147 MB / 388 MB, free: 35.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.2134, allocations: 38.55 kB / 388 MB, free: 35.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.2134, allocations: 0 / 388 MB, free: 35.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002178/0.2137, allocations: 125.5 kB / 388.2 MB, free: 35.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.2137, allocations: 51.41 kB / 388.2 MB, free: 35.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.454e-05/0.2137, allocations: 125.7 kB / 388.3 MB, free: 35.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.2138, allocations: 29.7 kB / 388.4 MB, free: 35.06 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.2138, allocations: 99.88 kB / 388.5 MB, free: 34.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.2138, allocations: 47.36 kB / 388.5 MB, free: 34.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-06/0.2138, allocations: 0 / 388.5 MB, free: 34.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.709e-05/0.2139, allocations: 322.8 kB / 388.8 MB, free: 34.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-05/0.2139, allocations: 23.98 kB / 388.8 MB, free: 34.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.793e-05/0.214, allocations: 65.14 kB / 388.9 MB, free: 34.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.804e-05/0.2141, allocations: 112.3 kB / 389 MB, free: 34.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2141, allocations: 0 / 389 MB, free: 34.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001531/0.2142, allocations: 137.5 kB / 389.2 MB, free: 34.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.2143, allocations: 8 kB / 389.2 MB, free: 34.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.2143, allocations: 0 / 389.2 MB, free: 34.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.2143, allocations: 4 kB / 389.2 MB, free: 34.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.2144, allocations: 31.98 kB / 389.2 MB, free: 34.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2144, allocations: 7.938 kB / 389.2 MB, free: 34.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.294e-05/0.2145, allocations: 15.78 kB / 389.2 MB, free: 34.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.2145, allocations: 8 kB / 389.2 MB, free: 34.14 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.459e-05/0.2145, allocations: 122.8 kB / 389.3 MB, free: 34.01 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.2146, allocations: 11.91 kB / 389.4 MB, free: 34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.2148, allocations: 146.3 kB / 389.5 MB, free: 33.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.2148, allocations: 3.938 kB / 389.5 MB, free: 33.85 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2148, allocations: 4 kB / 389.5 MB, free: 33.85 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2148, allocations: 3.984 kB / 389.5 MB, free: 33.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.2151, allocations: 382.5 kB / 389.9 MB, free: 33.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2152, allocations: 3.938 kB / 389.9 MB, free: 33.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.919e-05/0.2152, allocations: 27.86 kB / 389.9 MB, free: 33.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2152, allocations: 4 kB / 389.9 MB, free: 33.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.2153, allocations: 4 kB / 389.9 MB, free: 33.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2153, allocations: 0 / 389.9 MB, free: 33.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2153, allocations: 0 / 389.9 MB, free: 33.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.2154, allocations: 205.3 kB / 390.1 MB, free: 33.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/0.2154, allocations: 104.9 kB / 390.2 MB, free: 33.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.2155, allocations: 4 kB / 390.2 MB, free: 33.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.924e-05/0.2156, allocations: 4 kB / 390.2 MB, free: 33.03 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-05/0.2156, allocations: 11.98 kB / 390.2 MB, free: 33.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.2156, allocations: 4 kB / 390.3 MB, free: 33.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.041e-05/0.2156, allocations: 91.27 kB / 390.3 MB, free: 32.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2156, allocations: 3.938 kB / 390.3 MB, free: 32.92 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002919/0.2159, allocations: 55.98 kB / 390.4 MB, free: 32.87 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.0004165/0.2164, allocations: 0.8021 MB / 391.2 MB, free: 32.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001277/0.2165, allocations: 94.28 kB / 391.3 MB, free: 31.95 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2165, allocations: 0 / 391.3 MB, free: 31.95 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.943e-05/0.2166, allocations: 36.3 kB / 391.3 MB, free: 31.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.217, allocations: 39.97 kB / 391.4 MB, free: 31.87 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006801/0.2176, allocations: 0.6944 MB / 392.1 MB, free: 31.11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.352e-05/0.2177, allocations: 0.6931 MB / 392.8 MB, free: 30.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.622e-05/0.2178, allocations: 39.36 kB / 392.8 MB, free: 30.35 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2178, allocations: 0 / 392.8 MB, free: 30.35 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.586/2.804, allocations: 2.389 MB / 395.2 MB, free: 27.96 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches