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.0008917/0.0008918, allocations: 95.08 kB / 16.3 MB, free: 6.457 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.0008665/0.0008665, allocations: 184.5 kB / 17.19 MB, free: 6.34 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.288/1.288, allocations: 223.2 MB / 241.1 MB, free: 5.438 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000233/0.000233, allocations: 6.312 kB / 300.7 MB, free: 6.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08136/0.08161, allocations: 50.42 MB / 351.1 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.004001/0.08565, allocations: 3.512 MB / 354.6 MB, free: 8.188 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006527/0.08633, allocations: 0.5223 MB / 355.2 MB, free: 7.664 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.106e-05/0.08638, allocations: 4 kB / 355.2 MB, free: 7.66 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.08657, allocations: 19.89 kB / 355.2 MB, free: 7.641 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.08762, allocations: 0.5026 MB / 355.7 MB, free: 7.137 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.08784, allocations: 83.88 kB / 355.8 MB, free: 7.055 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.08801, allocations: 111.8 kB / 355.9 MB, free: 6.945 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.927e-05/0.08807, allocations: 8.281 kB / 355.9 MB, free: 6.938 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.08913, allocations: 0.6397 MB / 356.5 MB, free: 6.297 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.558e-05/0.0892, allocations: 35.91 kB / 356.6 MB, free: 6.262 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.08923, allocations: 4 kB / 356.6 MB, free: 6.258 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.09058, allocations: 0.87 MB / 357.4 MB, free: 5.387 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.452e-05/0.09064, allocations: 19.97 kB / 357.5 MB, free: 5.367 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.721e-05/0.09068, allocations: 41.64 kB / 357.5 MB, free: 5.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.09097, allocations: 179.6 kB / 357.7 MB, free: 5.145 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.09098, allocations: 0 / 357.7 MB, free: 5.145 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.09099, allocations: 0 / 357.7 MB, free: 5.145 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.091, allocations: 0 / 357.7 MB, free: 5.145 MB / 286.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.0003817/0.09139, allocations: 403.1 kB / 358.1 MB, free: 4.703 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.09143, allocations: 8.031 kB / 358.1 MB, free: 4.695 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003744/0.09181, allocations: 39.81 kB / 358.1 MB, free: 4.656 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.09199, allocations: 194.8 kB / 358.3 MB, free: 4.426 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.09201, allocations: 4 kB / 358.3 MB, free: 4.422 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.09203, allocations: 15.94 kB / 358.3 MB, free: 4.406 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.09226, allocations: 137 kB / 358.5 MB, free: 4.254 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.09228, allocations: 3.938 kB / 358.5 MB, free: 4.25 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.0923, allocations: 8 kB / 358.5 MB, free: 4.242 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.09231, allocations: 0 / 358.5 MB, free: 4.242 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.09248, allocations: 109.7 kB / 358.6 MB, free: 4.137 MB / 286.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.0006463/0.09313, allocations: 0.6763 MB / 359.3 MB, free: 3.387 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.09328, allocations: 86.48 kB / 359.3 MB, free: 3.293 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005727/0.09387, allocations: 0.8037 MB / 360.1 MB, free: 2.305 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.0939, allocations: 38.56 kB / 360.2 MB, free: 2.258 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.0939, allocations: 0 / 360.2 MB, free: 2.258 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002556/0.09417, allocations: 128.3 kB / 360.3 MB, free: 2.129 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.0942, allocations: 51.41 kB / 360.4 MB, free: 2.066 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.771e-05/0.09429, allocations: 113.9 kB / 360.5 MB, free: 1.945 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.09432, allocations: 37.69 kB / 360.5 MB, free: 1.902 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.09438, allocations: 99.88 kB / 360.6 MB, free: 1.801 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.09441, allocations: 47.3 kB / 360.6 MB, free: 1.754 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.09443, allocations: 4 kB / 360.6 MB, free: 1.75 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.146e-05/0.09452, allocations: 318.8 kB / 361 MB, free: 1.43 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.676e-05/0.09457, allocations: 35.92 kB / 361 MB, free: 1.395 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-05/0.09464, allocations: 65.14 kB / 361.1 MB, free: 1.312 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.6e-05/0.09471, allocations: 32.36 kB / 361.1 MB, free: 1.281 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.09471, allocations: 4 kB / 361.1 MB, free: 1.277 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001874/0.09491, allocations: 140.5 kB / 361.2 MB, free: 1.137 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.09493, allocations: 4 kB / 361.2 MB, free: 1.133 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.09494, allocations: 7.922 kB / 361.2 MB, free: 1.125 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.09496, allocations: 4 kB / 361.2 MB, free: 1.121 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.09508, allocations: 31.92 kB / 361.3 MB, free: 1.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.09509, allocations: 4 kB / 361.3 MB, free: 1.086 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.967e-05/0.09515, allocations: 11.91 kB / 361.3 MB, free: 1.074 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.09518, allocations: 4 kB / 361.3 MB, free: 1.07 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.54e-05/0.09527, allocations: 141.8 kB / 361.4 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.09531, allocations: 7.906 kB / 361.4 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.09558, allocations: 134.2 kB / 361.6 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.09559, allocations: 4 kB / 361.6 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.0956, allocations: 0 / 361.6 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.09561, allocations: 4 kB / 361.6 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/0.096, allocations: 394.3 kB / 362 MB, free: 336 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.09601, allocations: 0 / 362 MB, free: 336 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.699e-05/0.0961, allocations: 23.98 kB / 362 MB, free: 312 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.0961, allocations: 0 / 362 MB, free: 312 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.09612, allocations: 0 / 362 MB, free: 312 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.09612, allocations: 4 kB / 362 MB, free: 308 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.09613, allocations: 3.984 kB / 362 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.0963, allocations: 211.3 kB / 362.2 MB, free: 76 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-05/0.09639, allocations: 100.9 kB / 362.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.09641, allocations: 4 kB / 362.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.414e-05/0.09651, allocations: 4 kB / 362.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.09654, allocations: 11.98 kB / 362.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.09656, allocations: 4 kB / 362.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.299e-05/0.09661, allocations: 91.27 kB / 362.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09661, allocations: 0 / 362.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003141/0.09693, allocations: 60.23 kB / 362.5 MB, free: 15.79 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 (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.0002552/0.09719, allocations: 175 kB / 362.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001735/0.09738, allocations: 82.97 kB / 362.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.09739, allocations: 4 kB / 362.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.799e-05/0.09744, allocations: 39.86 kB / 362.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.0978, allocations: 44.27 kB / 362.8 MB, free: 15.44 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003918/0.0982, allocations: 294.7 kB / 363.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.09842, allocations: 0.6931 MB / 363.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001396/0.09857, allocations: 32.8 kB / 363.8 MB, free: 14.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.09862, allocations: 23.42 kB / 363.8 MB, free: 14.35 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.09862, allocations: 0 / 363.8 MB, free: 14.35 MB / 302.1 MB Notification: Performance of Templates: time 0.004695/0.1033, allocations: 2.272 MB / 366.1 MB, free: 12.11 MB / 302.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","../files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches