Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001388/0.001388, allocations: 109.8 kB / 17.33 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001644/0.001644, allocations: 205.8 kB / 18.26 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 59.44 kB / 306.4 MB, free: 0.957 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08218/0.08332, allocations: 50.54 MB / 357 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.00632/0.08968, allocations: 4.958 MB / 361.9 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007964/0.0905, allocations: 0.6232 MB / 362.6 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.106e-05/0.09055, allocations: 0 / 362.6 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.09076, allocations: 23.89 kB / 362.6 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.09195, allocations: 0.5413 MB / 363.1 MB, free: 8.238 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.09219, allocations: 91.33 kB / 363.2 MB, free: 8.152 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.09242, allocations: 183.3 kB / 363.4 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.68e-05/0.09246, allocations: 4 kB / 363.4 MB, free: 7.969 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.09352, allocations: 0.717 MB / 364.1 MB, free: 7.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.273e-05/0.09362, allocations: 55.77 kB / 364.2 MB, free: 7.195 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.09364, allocations: 4 kB / 364.2 MB, free: 7.191 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.09501, allocations: 0.9945 MB / 365.2 MB, free: 6.195 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.85e-05/0.09507, allocations: 19.91 kB / 365.2 MB, free: 6.176 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.98e-05/0.09514, allocations: 47.8 kB / 365.2 MB, free: 6.129 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003823/0.09553, allocations: 247.5 kB / 365.5 MB, free: 5.887 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.09554, allocations: 0 / 365.5 MB, free: 5.887 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.09555, allocations: 0 / 365.5 MB, free: 5.887 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.09556, allocations: 0 / 365.5 MB, free: 5.887 MB / 302.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.0004767/0.09604, allocations: 431.2 kB / 365.9 MB, free: 5.418 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.09609, allocations: 12.03 kB / 365.9 MB, free: 5.406 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004091/0.0965, allocations: 36.75 kB / 365.9 MB, free: 5.371 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.09669, allocations: 188.3 kB / 366.1 MB, free: 5.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.0967, allocations: 8.375 kB / 366.1 MB, free: 5.141 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.09673, allocations: 7.938 kB / 366.1 MB, free: 5.133 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.09696, allocations: 141 kB / 366.3 MB, free: 4.977 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.09698, allocations: 4 kB / 366.3 MB, free: 4.973 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.09701, allocations: 8 kB / 366.3 MB, free: 4.965 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.09702, allocations: 0 / 366.3 MB, free: 4.965 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.0972, allocations: 107.8 kB / 366.4 MB, free: 4.859 MB / 302.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.0006896/0.0979, allocations: 0.6645 MB / 367.1 MB, free: 4.121 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.09804, allocations: 86.48 kB / 367.1 MB, free: 4.027 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.401e-05/0.09812, allocations: 40.84 kB / 367.2 MB, free: 3.984 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005555/0.09868, allocations: 0.8076 MB / 368 MB, free: 2.992 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.09871, allocations: 34.56 kB / 368 MB, free: 2.949 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.09872, allocations: 0 / 368 MB, free: 2.949 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002871/0.09901, allocations: 129.9 kB / 368.1 MB, free: 2.816 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.09906, allocations: 67.28 kB / 368.2 MB, free: 2.738 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.193e-05/0.09915, allocations: 117.8 kB / 368.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.09918, allocations: 29.7 kB / 368.4 MB, free: 2.578 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.419e-05/0.09924, allocations: 103.8 kB / 368.5 MB, free: 2.473 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.09927, allocations: 43.39 kB / 368.5 MB, free: 2.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/0.09933, allocations: 33.62 kB / 368.5 MB, free: 2.391 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.919e-05/0.09943, allocations: 322.8 kB / 368.8 MB, free: 2.066 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.093e-05/0.09949, allocations: 31.98 kB / 368.9 MB, free: 2.035 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-05/0.09957, allocations: 69.12 kB / 368.9 MB, free: 1.949 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.09971, allocations: 97.09 kB / 369 MB, free: 1.836 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.09972, allocations: 0 / 369 MB, free: 1.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002063/0.09993, allocations: 144.7 kB / 369.2 MB, free: 1.691 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.09995, allocations: 4 kB / 369.2 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.09996, allocations: 3.938 kB / 369.2 MB, free: 1.684 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.09998, allocations: 7.938 kB / 369.2 MB, free: 1.676 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1001, allocations: 31.98 kB / 369.2 MB, free: 1.645 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1001, allocations: 8.156 kB / 369.2 MB, free: 1.637 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.08e-05/0.1002, allocations: 7.906 kB / 369.2 MB, free: 1.629 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.1002, allocations: 15.98 kB / 369.3 MB, free: 1.613 MB / 302.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 8.464e-05/0.1003, allocations: 121.7 kB / 369.4 MB, free: 1.484 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.1003, allocations: 7.906 kB / 369.4 MB, free: 1.477 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.1006, allocations: 142.4 kB / 369.5 MB, free: 1.332 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1007, allocations: 8 kB / 369.5 MB, free: 1.324 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1007, allocations: 0 / 369.5 MB, free: 1.324 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1007, allocations: 3.938 kB / 369.5 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000423/0.1011, allocations: 390.4 kB / 369.9 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1011, allocations: 0 / 369.9 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.146e-05/0.1012, allocations: 27.92 kB / 369.9 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1012, allocations: 0 / 369.9 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1012, allocations: 8 kB / 370 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1012, allocations: 0 / 370 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1012, allocations: 4 kB / 370 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.1014, allocations: 199.4 kB / 370.2 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-05/0.1015, allocations: 100.9 kB / 370.3 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.1015, allocations: 7.938 kB / 370.3 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.1016, allocations: 3.984 kB / 370.3 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/0.1017, allocations: 8 kB / 370.3 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.1017, allocations: 15.92 kB / 370.3 MB, free: 492 kB / 302.1 MB Notification: Performance of sorting global known variables: time 4.91e-05/0.1017, allocations: 91.28 kB / 370.4 MB, free: 400 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1018, allocations: 0 / 370.4 MB, free: 400 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003286/0.1021, allocations: 55.98 kB / 370.4 MB, free: 344 kB / 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 (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.0002963/0.1024, allocations: 171.1 kB / 370.6 MB, free: 160 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.1026, allocations: 91.28 kB / 370.7 MB, free: 72 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1026, allocations: 320 / 370.7 MB, free: 72 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-05/0.1027, allocations: 47.92 kB / 370.7 MB, free: 24 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1338/0.2365, allocations: 31.64 kB / 370.8 MB, free: 21.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004683/0.237, allocations: 258.1 kB / 371 MB, free: 20.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.2371, allocations: 0.6951 MB / 371.7 MB, free: 20.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001686/0.2373, allocations: 36.86 kB / 371.7 MB, free: 20.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.249e-05/0.2374, allocations: 19.11 kB / 371.8 MB, free: 20.25 MB / 302.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2374, allocations: 3.906 kB / 371.8 MB, free: 20.25 MB / 302.1 MB Notification: Performance of Templates: time 0.005812/0.2432, allocations: 2.555 MB / 374.3 MB, free: 20.11 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches