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.0009986/0.0009986, allocations: 78.19 kB / 21.42 MB, free: 3.082 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.0009031/0.0009031, allocations: 153.8 kB / 24.81 MB, free: 9.289 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 0.9375/0.9375, allocations: 173.3 MB / 201.4 MB, free: 9.199 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.793e-06/1.793e-06, allocations: 0 / 268.4 MB, free: 6.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.777e-05/1.957e-05, allocations: 2.312 kB / 268.4 MB, free: 6.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.004907/0.004927, allocations: 4.861 MB / 273.2 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005693/0.005496, allocations: 0.6268 MB / 273.9 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.854e-05/0.005555, allocations: 0 / 273.9 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.005761, allocations: 31.77 kB / 273.9 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.007113, allocations: 0.6185 MB / 274.5 MB, free: 32 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.007322, allocations: 95.78 kB / 274.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.007543, allocations: 179.2 kB / 274.8 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.132e-05/0.007574, allocations: 4 kB / 274.8 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008885/0.008463, allocations: 0.6548 MB / 275.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.409e-05/0.008537, allocations: 43.83 kB / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.008554, allocations: 4 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.009646, allocations: 0.8967 MB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.64e-05/0.009692, allocations: 19.91 kB / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.347e-05/0.009736, allocations: 35.92 kB / 276.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000353/0.01009, allocations: 227.3 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.01009, allocations: 0 / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.01009, allocations: 3.984 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.0101, allocations: 4 kB / 276.7 MB, free: 13.87 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.0003969/0.0105, allocations: 448 kB / 277.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.01053, allocations: 8.922 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003376/0.01087, allocations: 64.62 kB / 277.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.01101, allocations: 132.5 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.01102, allocations: 8.375 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.01104, allocations: 16.36 kB / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.01123, allocations: 201.7 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.01123, allocations: 4 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.01125, allocations: 4 kB / 277.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.01125, allocations: 8 kB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.126e-05/0.01134, allocations: 59.86 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004988/0.01184, allocations: 0.7039 MB / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.589e-05/0.01194, allocations: 74.88 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.296e-05/0.01197, allocations: 27.67 kB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001891/0.01216, allocations: 67.94 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.01219, allocations: 41.38 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.01219, allocations: 7.938 kB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001952/0.01238, allocations: 109 kB / 278.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.01241, allocations: 51.41 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.524e-05/0.0125, allocations: 177.8 kB / 278.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.01251, allocations: 29.7 kB / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.01257, allocations: 162.5 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.0126, allocations: 43.59 kB / 279.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003004/0.0129, allocations: 43.34 kB / 279.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.01302, allocations: 0.4922 MB / 279.6 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.552e-05/0.01305, allocations: 15.98 kB / 279.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.912e-05/0.0131, allocations: 80.84 kB / 279.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.243e-05/0.0132, allocations: 102 kB / 279.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.0132, allocations: 0 / 279.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000153/0.01335, allocations: 117.5 kB / 279.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.01337, allocations: 15.92 kB / 279.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.01337, allocations: 4.156 kB / 279.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.01339, allocations: 4 kB / 279.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.878e-05/0.01347, allocations: 35.92 kB / 280 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-06/0.01348, allocations: 0 / 280 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.423e-05/0.01352, allocations: 7.953 kB / 280 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.01354, allocations: 16 kB / 280 MB, free: 10.24 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 7.33e-05/0.01361, allocations: 172.4 kB / 280.2 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.01364, allocations: 7.953 kB / 280.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001921/0.01384, allocations: 129.6 kB / 280.3 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01384, allocations: 0 / 280.3 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.01384, allocations: 0 / 280.3 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.01384, allocations: 0 / 280.3 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.01415, allocations: 357.8 kB / 280.7 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01415, allocations: 0 / 280.7 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.251e-05/0.0142, allocations: 23.98 kB / 280.7 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01421, allocations: 0 / 280.7 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.01421, allocations: 4 kB / 280.7 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.01421, allocations: 4 kB / 280.7 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01422, allocations: 4 kB / 280.7 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.01437, allocations: 243.8 kB / 280.9 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.874e-05/0.0144, allocations: 15.94 kB / 280.9 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.01441, allocations: 7.984 kB / 281 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.01448, allocations: 4 kB / 281 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.0145, allocations: 7.984 kB / 281 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.01451, allocations: 8 kB / 281 MB, free: 9.203 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.939e-05/0.01455, allocations: 131.2 kB / 281.1 MB, free: 9.074 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01455, allocations: 0 / 281.1 MB, free: 9.074 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000287/0.01484, allocations: 63.81 kB / 281.2 MB, free: 9.012 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.0002032/0.01504, allocations: 167 kB / 281.3 MB, free: 8.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.01515, allocations: 71.53 kB / 281.4 MB, free: 8.766 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01515, allocations: 320 / 281.4 MB, free: 8.766 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.643e-05/0.01519, allocations: 47.34 kB / 281.4 MB, free: 8.719 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.01552, allocations: 51.45 kB / 281.5 MB, free: 8.672 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00057/0.01609, allocations: 218.4 kB / 281.7 MB, free: 8.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.783e-05/0.01612, allocations: 63.84 kB / 281.8 MB, free: 8.348 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.675e-05/0.01622, allocations: 33.11 kB / 281.8 MB, free: 8.316 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.01635, allocations: 118.2 kB / 281.9 MB, free: 8.199 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01635, allocations: 0 / 281.9 MB, free: 8.199 MB / 266.7 MB Notification: Performance of Templates: time 0.004892/0.02124, allocations: 2.88 MB / 284.8 MB, free: 5.363 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.6815385981462896]