Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009409/0.0009409, allocations: 112.2 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008808/0.0008811, allocations: 39.94 kB / 350 MB, free: 92 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2021, allocations: 49.43 MB / 399.5 MB, free: 33.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.004967/0.2071, allocations: 4.969 MB / 404.4 MB, free: 28.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005849/0.2077, allocations: 0.6504 MB / 405.1 MB, free: 27.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.482e-05/0.2078, allocations: 0 / 405.1 MB, free: 27.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.2079, allocations: 23.89 kB / 405.1 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008539/0.2088, allocations: 0.5141 MB / 405.6 MB, free: 27.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.209, allocations: 89.12 kB / 405.7 MB, free: 27.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.2092, allocations: 215.2 kB / 405.9 MB, free: 26.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.964e-05/0.2092, allocations: 11.98 kB / 405.9 MB, free: 26.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000871/0.2101, allocations: 0.7053 MB / 406.6 MB, free: 26.19 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.235e-05/0.2102, allocations: 47.83 kB / 406.7 MB, free: 26.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.2102, allocations: 7.938 kB / 406.7 MB, free: 26.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.2113, allocations: 0.9528 MB / 407.6 MB, free: 25.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.194e-05/0.2113, allocations: 19.91 kB / 407.7 MB, free: 25.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.086e-05/0.2114, allocations: 35.86 kB / 407.7 MB, free: 25.13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003223/0.2117, allocations: 243.4 kB / 407.9 MB, free: 24.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2117, allocations: 0 / 407.9 MB, free: 24.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2117, allocations: 7.984 kB / 407.9 MB, free: 24.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.2117, allocations: 0 / 407.9 MB, free: 24.88 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.0003842/0.2121, allocations: 424.9 kB / 408.4 MB, free: 24.42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.2122, allocations: 8.031 kB / 408.4 MB, free: 24.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003499/0.2125, allocations: 36.75 kB / 408.4 MB, free: 24.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.2127, allocations: 192.3 kB / 408.6 MB, free: 24.15 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.2127, allocations: 8.375 kB / 408.6 MB, free: 24.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.2127, allocations: 15.94 kB / 408.6 MB, free: 24.13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.2129, allocations: 141 kB / 408.7 MB, free: 23.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.213, allocations: 0 / 408.7 MB, free: 23.97 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.213, allocations: 4 kB / 408.7 MB, free: 23.97 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.213, allocations: 7.984 kB / 408.8 MB, free: 23.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.2131, allocations: 111.8 kB / 408.9 MB, free: 23.85 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.0004956/0.2136, allocations: 0.6567 MB / 409.5 MB, free: 23.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.2138, allocations: 87.48 kB / 409.6 MB, free: 23.03 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.883e-05/0.2138, allocations: 36.84 kB / 409.6 MB, free: 22.99 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003942/0.2142, allocations: 0.8154 MB / 410.5 MB, free: 21.99 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.2142, allocations: 34.56 kB / 410.5 MB, free: 21.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.2143, allocations: 0 / 410.5 MB, free: 21.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002436/0.2145, allocations: 129.1 kB / 410.6 MB, free: 21.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.2145, allocations: 67.28 kB / 410.7 MB, free: 21.74 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.781e-05/0.2146, allocations: 109.8 kB / 410.8 MB, free: 21.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.2146, allocations: 29.7 kB / 410.8 MB, free: 21.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.2146, allocations: 99.88 kB / 410.9 MB, free: 21.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.2147, allocations: 43.36 kB / 411 MB, free: 21.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.2147, allocations: 49.61 kB / 411 MB, free: 21.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.95e-05/0.2148, allocations: 310.8 kB / 411.3 MB, free: 21.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.19e-05/0.2148, allocations: 27.98 kB / 411.3 MB, free: 21.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.36e-05/0.2149, allocations: 69.12 kB / 411.4 MB, free: 20.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.923e-05/0.215, allocations: 101.1 kB / 411.5 MB, free: 20.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.215, allocations: 0 / 411.5 MB, free: 20.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001629/0.2152, allocations: 137.5 kB / 411.6 MB, free: 20.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.2152, allocations: 8.156 kB / 411.6 MB, free: 20.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2152, allocations: 3.938 kB / 411.7 MB, free: 20.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.2152, allocations: 11.88 kB / 411.7 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.2153, allocations: 31.98 kB / 411.7 MB, free: 20.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.2153, allocations: 4 kB / 411.7 MB, free: 20.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.477e-05/0.2154, allocations: 19.83 kB / 411.7 MB, free: 20.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.2154, allocations: 12 kB / 411.7 MB, free: 20.61 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.471e-05/0.2155, allocations: 121.7 kB / 411.8 MB, free: 20.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.2155, allocations: 4 kB / 411.9 MB, free: 20.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.2157, allocations: 146.2 kB / 412 MB, free: 20.33 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2158, allocations: 4 kB / 412 MB, free: 20.33 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2158, allocations: 0 / 412 MB, free: 20.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2158, allocations: 3.938 kB / 412 MB, free: 20.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.2161, allocations: 394.1 kB / 412.4 MB, free: 19.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2161, allocations: 8 kB / 412.4 MB, free: 19.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.875e-05/0.2162, allocations: 27.91 kB / 412.4 MB, free: 19.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2162, allocations: 0 / 412.4 MB, free: 19.85 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.2162, allocations: 8 kB / 412.4 MB, free: 19.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2162, allocations: 0 / 412.4 MB, free: 19.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2162, allocations: 0 / 412.4 MB, free: 19.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.2165, allocations: 0.7747 MB / 413.2 MB, free: 19.01 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.2166, allocations: 104.9 kB / 413.3 MB, free: 18.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.2166, allocations: 4 kB / 413.3 MB, free: 18.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.045e-05/0.2167, allocations: 4 kB / 413.3 MB, free: 18.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.094e-05/0.2167, allocations: 11.98 kB / 413.3 MB, free: 18.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.2167, allocations: 4 kB / 413.3 MB, free: 18.87 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.176e-05/0.2168, allocations: 95.2 kB / 413.4 MB, free: 18.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2168, allocations: 0 / 413.4 MB, free: 18.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003938/0.2172, allocations: 56 kB / 413.5 MB, free: 18.72 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 (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.0002578/0.2174, allocations: 171.2 kB / 413.6 MB, free: 18.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001449/0.2176, allocations: 83.84 kB / 413.7 MB, free: 18.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2176, allocations: 4 kB / 413.7 MB, free: 18.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.334e-05/0.2177, allocations: 35.98 kB / 413.8 MB, free: 18.42 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.2181, allocations: 52.14 kB / 413.8 MB, free: 18.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.2185, allocations: 392.2 kB / 414.2 MB, free: 17.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.2187, allocations: 0.7009 MB / 414.9 MB, free: 17.22 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.2188, allocations: 40.95 kB / 414.9 MB, free: 17.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.2189, allocations: 15.44 kB / 415 MB, free: 17.16 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2189, allocations: 0 / 415 MB, free: 17.16 MB / 298.7 MB Notification: Performance of Templates: time 0.004505/0.2234, allocations: 2.434 MB / 417.4 MB, free: 14.76 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","../files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches