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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001009/0.001009, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001242/0.001242, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9721/0.9721, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.7 MB " [Timeout remaining time 179] 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=5002,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=5002,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.595e-05/1.735e-05, allocations: 2.312 kB / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006635/0.006653, allocations: 4.998 MB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008198/0.007473, allocations: 0.6424 MB / 279 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.007522, allocations: 0 / 279 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.00776, allocations: 27.78 kB / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.009015, allocations: 0.6107 MB / 279.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.009207, allocations: 91.84 kB / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.00944, allocations: 183.1 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.182e-05/0.009482, allocations: 11.94 kB / 280 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000868/0.01035, allocations: 0.6041 MB / 280.6 MB, free: 9.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.416e-05/0.01042, allocations: 47.83 kB / 280.6 MB, free: 9.793 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.01044, allocations: 4 kB / 280.6 MB, free: 9.789 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.0116, allocations: 0.885 MB / 281.5 MB, free: 8.902 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.602e-05/0.01165, allocations: 23.92 kB / 281.5 MB, free: 8.879 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.913e-05/0.0117, allocations: 35.91 kB / 281.6 MB, free: 8.844 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.01207, allocations: 239.3 kB / 281.8 MB, free: 8.609 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.01207, allocations: 0 / 281.8 MB, free: 8.609 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.01207, allocations: 0 / 281.8 MB, free: 8.609 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.01207, allocations: 4 kB / 281.8 MB, free: 8.605 MB / 266.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.000368/0.01244, allocations: 332.1 kB / 282.1 MB, free: 8.258 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.01248, allocations: 15.98 kB / 282.1 MB, free: 8.242 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004175/0.0129, allocations: 56.7 kB / 282.2 MB, free: 8.188 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.01306, allocations: 137.7 kB / 282.3 MB, free: 8.027 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.01308, allocations: 12.36 kB / 282.3 MB, free: 8.016 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.0131, allocations: 12.38 kB / 282.3 MB, free: 8.004 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.0133, allocations: 189.2 kB / 282.5 MB, free: 7.781 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.0133, allocations: 0 / 282.5 MB, free: 7.781 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.01332, allocations: 4 kB / 282.5 MB, free: 7.777 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.01333, allocations: 8 kB / 282.5 MB, free: 7.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.01344, allocations: 62.69 kB / 282.6 MB, free: 7.707 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.0139, allocations: 486.2 kB / 283.1 MB, free: 7.203 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.522e-05/0.014, allocations: 62.48 kB / 283.1 MB, free: 7.133 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.303e-05/0.01403, allocations: 20.86 kB / 283.2 MB, free: 7.109 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/0.01421, allocations: 63.92 kB / 283.2 MB, free: 7.047 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.849e-05/0.01426, allocations: 34.56 kB / 283.3 MB, free: 7.004 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.01427, allocations: 4 kB / 283.3 MB, free: 7 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001687/0.01443, allocations: 85.84 kB / 283.3 MB, free: 6.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.01446, allocations: 55.41 kB / 283.4 MB, free: 6.844 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.748e-05/0.01454, allocations: 126.6 kB / 283.5 MB, free: 6.707 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.01455, allocations: 25.7 kB / 283.5 MB, free: 6.676 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.01461, allocations: 99.98 kB / 283.6 MB, free: 6.574 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.01471, allocations: 43.58 kB / 283.7 MB, free: 6.531 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-05/0.01476, allocations: 37.69 kB / 283.7 MB, free: 6.488 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.017e-05/0.01485, allocations: 326.8 kB / 284 MB, free: 6.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.394e-05/0.01488, allocations: 19.92 kB / 284.1 MB, free: 6.141 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.066e-05/0.01493, allocations: 53.14 kB / 284.1 MB, free: 6.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.073e-05/0.01502, allocations: 91.69 kB / 284.2 MB, free: 5.965 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01502, allocations: 0 / 284.2 MB, free: 5.965 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001352/0.01516, allocations: 101.5 kB / 284.3 MB, free: 5.859 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.01517, allocations: 7.281 kB / 284.3 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.01517, allocations: 4 kB / 284.3 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.01519, allocations: 4 kB / 284.3 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.01529, allocations: 35.97 kB / 284.4 MB, free: 5.812 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.0153, allocations: 7.938 kB / 284.4 MB, free: 5.805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/0.01535, allocations: 15.88 kB / 284.4 MB, free: 5.789 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.01537, allocations: 8 kB / 284.4 MB, free: 5.781 MB / 266.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 6.775e-05/0.01543, allocations: 120.6 kB / 284.5 MB, free: 5.652 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.01547, allocations: 11.98 kB / 284.5 MB, free: 5.641 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.01566, allocations: 106.3 kB / 284.6 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.01567, allocations: 0 / 284.6 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.01567, allocations: 8 kB / 284.6 MB, free: 5.523 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01567, allocations: 0 / 284.6 MB, free: 5.523 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.01597, allocations: 246.7 kB / 284.9 MB, free: 5.258 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01597, allocations: 0 / 284.9 MB, free: 5.258 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.282e-05/0.01604, allocations: 31.92 kB / 284.9 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.01605, allocations: 0 / 284.9 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.01605, allocations: 0 / 284.9 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.01606, allocations: 7.984 kB / 284.9 MB, free: 5.219 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01606, allocations: 4 kB / 284.9 MB, free: 5.215 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.01618, allocations: 175.4 kB / 285.1 MB, free: 5.027 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.01621, allocations: 15.94 kB / 285.1 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.01622, allocations: 4 kB / 285.1 MB, free: 5.008 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.026e-05/0.0163, allocations: 4 kB / 285.1 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.01632, allocations: 11.92 kB / 285.1 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.01633, allocations: 7.984 kB / 285.1 MB, free: 4.984 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.922e-05/0.01635, allocations: 12.86 kB / 285.1 MB, free: 4.969 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01635, allocations: 0 / 285.1 MB, free: 4.969 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003116/0.01667, allocations: 75.75 kB / 285.2 MB, free: 4.895 MB / 266.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.0002165/0.01688, allocations: 152.1 kB / 285.4 MB, free: 4.738 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001035/0.01699, allocations: 60.64 kB / 285.4 MB, free: 4.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.01699, allocations: 8.312 kB / 285.4 MB, free: 4.672 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.82e-05/0.01703, allocations: 36.78 kB / 285.5 MB, free: 4.633 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.01732, allocations: 35.95 kB / 285.5 MB, free: 4.598 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006668/0.01799, allocations: 231.5 kB / 285.7 MB, free: 4.344 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.432e-05/0.01804, allocations: 63.84 kB / 285.8 MB, free: 4.262 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.01815, allocations: 37.11 kB / 285.8 MB, free: 4.227 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.01829, allocations: 83.34 kB / 285.9 MB, free: 4.145 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01829, allocations: 0 / 285.9 MB, free: 4.145 MB / 266.7 MB Notification: Performance of Templates: time 0.00433/0.02262, allocations: 2.985 MB / 288.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.589322233106941]