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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 143 kB / 24.89 MB, free: 8.789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.035/1.035, allocations: 173.4 MB / 201.5 MB, free: 8.746 MB / 186.7 MB " [Timeout remaining time 179] 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=5002,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=5002,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 268.4 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.742e-05/1.916e-05, allocations: 2.312 kB / 268.4 MB, free: 6.066 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.004783/0.004802, allocations: 4.887 MB / 273.3 MB, free: 1.145 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005713/0.005373, allocations: 0.6384 MB / 274 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.088e-05/0.005414, allocations: 4 kB / 274 MB, free: 0.5 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.005634, allocations: 23.84 kB / 274 MB, free: 488 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000963/0.006597, allocations: 0.6302 MB / 274.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.006742, allocations: 91.8 kB / 274.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.006925, allocations: 183.1 kB / 274.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.551e-05/0.00696, allocations: 7.984 kB / 274.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007079/0.007668, allocations: 0.6158 MB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.88e-05/0.007727, allocations: 43.83 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.007742, allocations: 4 kB / 275.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007532/0.008495, allocations: 0.8343 MB / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.365e-05/0.008539, allocations: 19.91 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.282e-05/0.008581, allocations: 39.91 kB / 276.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.008856, allocations: 223.3 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.008858, allocations: 4 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.008859, allocations: 4 kB / 276.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.008863, allocations: 0 / 276.7 MB, free: 13.78 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.0003198/0.009183, allocations: 316.3 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.009215, allocations: 12.92 kB / 277 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002582/0.009473, allocations: 72.66 kB / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.009621, allocations: 133.6 kB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.009631, allocations: 4.375 kB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.009647, allocations: 12.38 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.009799, allocations: 197.2 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.009807, allocations: 3.938 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.009818, allocations: 4 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.009823, allocations: 4 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.703e-05/0.0099, allocations: 58.7 kB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.01027, allocations: 494.2 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.682e-05/0.01034, allocations: 66.34 kB / 278 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.683e-05/0.01037, allocations: 32.41 kB / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001554/0.01053, allocations: 55.94 kB / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.01055, allocations: 42.56 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.01055, allocations: 0 / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001299/0.01068, allocations: 85.91 kB / 278.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.0107, allocations: 51.41 kB / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.758e-05/0.01076, allocations: 118.6 kB / 278.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.01078, allocations: 33.7 kB / 278.4 MB, free: 11.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/0.01082, allocations: 115.8 kB / 278.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.01084, allocations: 51.53 kB / 278.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.01087, allocations: 37.69 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.669e-05/0.01094, allocations: 318.8 kB / 278.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.568e-05/0.01096, allocations: 15.98 kB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.559e-05/0.01099, allocations: 56.09 kB / 279 MB, free: 11.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.579e-05/0.01106, allocations: 87.88 kB / 279.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.01106, allocations: 0 / 279.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.134e-05/0.01115, allocations: 93.53 kB / 279.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.01116, allocations: 15.92 kB / 279.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.01117, allocations: 0 / 279.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.01118, allocations: 4 kB / 279.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.938e-05/0.01125, allocations: 31.92 kB / 279.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.01125, allocations: 160 / 279.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.18e-05/0.01128, allocations: 19.89 kB / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.0113, allocations: 8 kB / 279.3 MB, free: 10.95 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 5.877e-05/0.01136, allocations: 120.5 kB / 279.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.01138, allocations: 11.98 kB / 279.4 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.01153, allocations: 106.2 kB / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01153, allocations: 4 kB / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.01153, allocations: 0 / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.01154, allocations: 0 / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.01175, allocations: 262.6 kB / 279.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01176, allocations: 0 / 279.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.157e-05/0.0118, allocations: 23.98 kB / 279.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.0118, allocations: 0 / 279.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-06/0.0118, allocations: 3.938 kB / 279.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.01181, allocations: 4 kB / 279.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.01181, allocations: 0 / 279.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.482e-05/0.01189, allocations: 179.4 kB / 280 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.298e-05/0.01191, allocations: 15.94 kB / 280 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.01193, allocations: 4 kB / 280 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.808e-05/0.01197, allocations: 4 kB / 280 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.01199, allocations: 11.98 kB / 280 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.012, allocations: 7.984 kB / 280 MB, free: 10.15 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.392e-05/0.01201, allocations: 12.86 kB / 280 MB, free: 10.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01201, allocations: 0 / 280 MB, free: 10.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001838/0.0122, allocations: 63.86 kB / 280.1 MB, free: 10.07 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.0001854/0.01238, allocations: 148.1 kB / 280.2 MB, free: 9.922 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.01249, allocations: 60.75 kB / 280.3 MB, free: 9.859 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.01249, allocations: 4 kB / 280.3 MB, free: 9.855 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.376e-05/0.01252, allocations: 32.78 kB / 280.3 MB, free: 9.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.01272, allocations: 48.53 kB / 280.4 MB, free: 9.773 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005387/0.01326, allocations: 227.5 kB / 280.6 MB, free: 9.523 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.772e-05/0.0133, allocations: 63.84 kB / 280.7 MB, free: 9.441 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.889e-05/0.01338, allocations: 32.83 kB / 280.7 MB, free: 9.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.01348, allocations: 91.33 kB / 280.8 MB, free: 9.32 MB / 266.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01349, allocations: 0 / 280.8 MB, free: 9.32 MB / 266.7 MB Notification: Performance of Templates: time 0.00426/0.01775, allocations: 2.881 MB / 283.7 MB, free: 6.48 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 240] 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","",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.7484599398449063]