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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 114.6 kB / 17.07 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 191 kB / 18 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008815/0.0008815, allocations: 43.94 kB / 351.3 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2164, allocations: 49.44 MB / 400.7 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006042/0.2225, allocations: 4.857 MB / 405.6 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007809/0.2233, allocations: 0.6115 MB / 406.2 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.418e-05/0.2234, allocations: 0 / 406.2 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.2236, allocations: 35.81 kB / 406.2 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.2248, allocations: 0.5761 MB / 406.8 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.225, allocations: 86.25 kB / 406.9 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.2252, allocations: 183.2 kB / 407 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.281e-05/0.2253, allocations: 11.98 kB / 407.1 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009301/0.2262, allocations: 0.6158 MB / 407.7 MB, free: 1.867 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.524e-05/0.2263, allocations: 43.84 kB / 407.7 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.2263, allocations: 4 kB / 407.7 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.2276, allocations: 0.8579 MB / 408.6 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.405e-05/0.2276, allocations: 19.92 kB / 408.6 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.315e-05/0.2277, allocations: 51.72 kB / 408.6 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003678/0.2281, allocations: 231.2 kB / 408.9 MB, free: 0.668 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2281, allocations: 0 / 408.9 MB, free: 0.668 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2281, allocations: 4 kB / 408.9 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.2281, allocations: 0 / 408.9 MB, free: 0.6641 MB / 318.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.0004496/0.2286, allocations: 433.3 kB / 409.3 MB, free: 200 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.2286, allocations: 8.031 kB / 409.3 MB, free: 192 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004009/0.229, allocations: 32.86 kB / 409.3 MB, free: 160 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.2293, allocations: 196.2 kB / 409.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.2293, allocations: 8.375 kB / 409.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.2293, allocations: 7.938 kB / 409.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.2295, allocations: 137.1 kB / 409.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.2296, allocations: 0 / 409.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.2296, allocations: 8 kB / 409.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2296, allocations: 0 / 409.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.2298, allocations: 111.8 kB / 409.8 MB, free: 15.64 MB / 334.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.0006488/0.2304, allocations: 0.6722 MB / 410.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.2306, allocations: 82.55 kB / 410.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.478e-05/0.2307, allocations: 40.84 kB / 410.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000539/0.2312, allocations: 0.8037 MB / 411.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.2312, allocations: 42.5 kB / 411.4 MB, free: 13.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.2313, allocations: 0 / 411.4 MB, free: 13.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002711/0.2315, allocations: 129.9 kB / 411.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.2316, allocations: 55.34 kB / 411.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.665e-05/0.2317, allocations: 117.8 kB / 411.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.2317, allocations: 29.7 kB / 411.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.2317, allocations: 103.9 kB / 411.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.2318, allocations: 51.58 kB / 411.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.2318, allocations: 33.72 kB / 411.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.068e-05/0.2319, allocations: 318.8 kB / 412.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.915e-05/0.232, allocations: 27.98 kB / 412.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.3e-05/0.2321, allocations: 73.06 kB / 412.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.2322, allocations: 99.84 kB / 412.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.2322, allocations: 4 kB / 412.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002014/0.2324, allocations: 141.5 kB / 412.6 MB, free: 12.47 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.2324, allocations: 8.156 kB / 412.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2325, allocations: 4 kB / 412.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.2325, allocations: 3.938 kB / 412.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.2326, allocations: 39.92 kB / 412.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.2326, allocations: 0 / 412.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.996e-05/0.2327, allocations: 11.89 kB / 412.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.2327, allocations: 19.97 kB / 412.7 MB, free: 12.38 MB / 334.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.432e-05/0.2328, allocations: 113.8 kB / 412.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.2328, allocations: 7.953 kB / 412.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002756/0.2331, allocations: 150.3 kB / 412.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.2331, allocations: 0 / 412.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2331, allocations: 0 / 412.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2331, allocations: 0 / 412.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004123/0.2336, allocations: 401.6 kB / 413.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2336, allocations: 0 / 413.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.265e-05/0.2337, allocations: 23.97 kB / 413.4 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2337, allocations: 4 kB / 413.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.2337, allocations: 8 kB / 413.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2337, allocations: 0 / 413.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2337, allocations: 0 / 413.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.2339, allocations: 207.4 kB / 413.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.234, allocations: 96.98 kB / 413.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.234, allocations: 7.984 kB / 413.7 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.624e-05/0.2341, allocations: 4 kB / 413.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/0.2341, allocations: 8 kB / 413.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.2342, allocations: 15.98 kB / 413.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.858e-05/0.2342, allocations: 99.14 kB / 413.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2342, allocations: 0 / 413.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003114/0.2345, allocations: 55.88 kB / 413.9 MB, free: 11.1 MB / 334.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.0002419/0.2348, allocations: 159.8 kB / 414 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.235, allocations: 79.84 kB / 414.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.235, allocations: 0 / 414.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.384e-05/0.235, allocations: 39.98 kB / 414.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.2354, allocations: 44.2 kB / 414.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003742/0.2358, allocations: 235.4 kB / 414.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.2361, allocations: 0.6967 MB / 415.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.2362, allocations: 33.06 kB / 415.1 MB, free: 9.762 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.2362, allocations: 31.36 kB / 415.2 MB, free: 9.73 MB / 334.1 MB Notification: Performance of SimCode: time 1.543e-06/0.2362, allocations: 0 / 415.2 MB, free: 9.73 MB / 334.1 MB Notification: Performance of Templates: time 0.004999/0.2412, allocations: 2.388 MB / 417.6 MB, free: 7.375 MB / 334.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches