Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007764/0.0007764, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000966/0.001742, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007165/0.0007165, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000865/0.001581, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9306/0.9306, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.075/1.006, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 244.5 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.348e-05, allocations: 2.312 kB / 244.5 MB, free: 14.35 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.004353/0.004366, allocations: 4.995 MB / 249.5 MB, free: 9.32 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000543/0.004909, allocations: 0.6618 MB / 250.2 MB, free: 8.656 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.282e-05/0.004952, allocations: 0 / 250.2 MB, free: 8.656 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.005078, allocations: 23.78 kB / 250.2 MB, free: 8.633 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009559/0.006034, allocations: 0.6029 MB / 250.8 MB, free: 8.027 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.006185, allocations: 87.84 kB / 250.9 MB, free: 7.941 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.006382, allocations: 187.2 kB / 251.1 MB, free: 7.758 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.396e-05/0.006416, allocations: 7.984 kB / 251.1 MB, free: 7.75 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006923/0.007108, allocations: 0.6159 MB / 251.7 MB, free: 7.133 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.266e-05/0.007171, allocations: 39.89 kB / 251.7 MB, free: 7.094 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.007186, allocations: 4 kB / 251.7 MB, free: 7.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008185/0.008004, allocations: 0.8267 MB / 252.6 MB, free: 6.262 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.884e-05/0.008043, allocations: 11.94 kB / 252.6 MB, free: 6.25 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.008079, allocations: 31.94 kB / 252.6 MB, free: 6.219 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.008361, allocations: 219.3 kB / 252.8 MB, free: 6.004 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/0.008372, allocations: 0 / 252.8 MB, free: 6.004 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.008373, allocations: 0 / 252.8 MB, free: 6.004 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.008385, allocations: 0 / 252.8 MB, free: 6.004 MB / 250.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.0003752/0.00876, allocations: 367.8 kB / 253.2 MB, free: 5.621 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.771e-05/0.008788, allocations: 8.031 kB / 253.2 MB, free: 5.613 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002771/0.009065, allocations: 145.8 kB / 253.3 MB, free: 5.453 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.009199, allocations: 133.7 kB / 253.4 MB, free: 5.297 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.009207, allocations: 384 / 253.4 MB, free: 5.297 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.009221, allocations: 16.31 kB / 253.5 MB, free: 5.281 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.009371, allocations: 192 kB / 253.7 MB, free: 5.059 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.009378, allocations: 0 / 253.7 MB, free: 5.059 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.00939, allocations: 11.98 kB / 253.7 MB, free: 5.047 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.009395, allocations: 0 / 253.7 MB, free: 5.047 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.499e-05/0.00947, allocations: 62.7 kB / 253.7 MB, free: 4.984 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.009836, allocations: 0.4903 MB / 254.2 MB, free: 4.465 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.308e-05/0.009909, allocations: 58.55 kB / 254.3 MB, free: 4.398 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.374e-05/0.009933, allocations: 24.84 kB / 254.3 MB, free: 4.371 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001489/0.01008, allocations: 63.94 kB / 254.4 MB, free: 4.309 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.0101, allocations: 34.56 kB / 254.4 MB, free: 4.266 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.0101, allocations: 0 / 254.4 MB, free: 4.266 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001265/0.01023, allocations: 89.84 kB / 254.5 MB, free: 4.172 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.01025, allocations: 55.34 kB / 254.5 MB, free: 4.105 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.25e-05/0.01031, allocations: 118.7 kB / 254.7 MB, free: 3.977 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.01032, allocations: 25.7 kB / 254.7 MB, free: 3.945 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.01037, allocations: 115.8 kB / 254.8 MB, free: 3.828 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.01039, allocations: 51.56 kB / 254.8 MB, free: 3.777 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.01042, allocations: 33.69 kB / 254.9 MB, free: 3.738 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.632e-05/0.01049, allocations: 318.8 kB / 255.2 MB, free: 3.418 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.414e-05/0.0105, allocations: 15.98 kB / 255.2 MB, free: 3.402 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.298e-05/0.01053, allocations: 53.12 kB / 255.3 MB, free: 3.332 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.968e-05/0.01059, allocations: 91.81 kB / 255.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.0106, allocations: 0 / 255.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.571e-05/0.01068, allocations: 101.4 kB / 255.4 MB, free: 3.121 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.01069, allocations: 7.984 kB / 255.4 MB, free: 3.113 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.0107, allocations: 4 kB / 255.5 MB, free: 3.109 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.263e-06/0.0107, allocations: 0 / 255.5 MB, free: 3.109 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.841e-05/0.01078, allocations: 40.08 kB / 255.5 MB, free: 3.07 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.01079, allocations: 4 kB / 255.5 MB, free: 3.066 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.146e-05/0.01082, allocations: 15.95 kB / 255.5 MB, free: 3.051 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.01083, allocations: 7.984 kB / 255.5 MB, free: 3.043 MB / 250.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.568e-05/0.01088, allocations: 124.5 kB / 255.6 MB, free: 2.91 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.01091, allocations: 19.92 kB / 255.7 MB, free: 2.891 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.01104, allocations: 98.34 kB / 255.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01104, allocations: 4 kB / 255.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.01105, allocations: 3.984 kB / 255.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.01105, allocations: 4 kB / 255.8 MB, free: 2.777 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.01126, allocations: 246.5 kB / 256 MB, free: 2.512 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01126, allocations: 4 kB / 256 MB, free: 2.508 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.467e-05/0.0113, allocations: 27.98 kB / 256 MB, free: 2.48 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.01133, allocations: 19.88 kB / 256.1 MB, free: 2.461 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.01133, allocations: 0 / 256.1 MB, free: 2.461 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-06/0.01133, allocations: 7.984 kB / 256.1 MB, free: 2.453 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01134, allocations: 4 kB / 256.1 MB, free: 2.449 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01134, allocations: 0 / 256.1 MB, free: 2.449 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.717e-05/0.01142, allocations: 179.4 kB / 256.2 MB, free: 2.258 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.01143, allocations: 11.92 kB / 256.3 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.844e-05/0.01148, allocations: 4 kB / 256.3 MB, free: 2.242 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/0.0115, allocations: 7.984 kB / 256.3 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.0115, allocations: 4 kB / 256.3 MB, free: 2.23 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.554e-05/0.01152, allocations: 16.84 kB / 256.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01152, allocations: 0 / 256.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001867/0.01171, allocations: 59.88 kB / 256.3 MB, free: 2.152 MB / 250.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.0001784/0.01189, allocations: 160.1 kB / 256.5 MB, free: 1.988 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.391e-05/0.01197, allocations: 64.7 kB / 256.6 MB, free: 1.922 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.01198, allocations: 0 / 256.6 MB, free: 1.922 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.087e-05/0.012, allocations: 32.47 kB / 256.6 MB, free: 1.891 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.01221, allocations: 60.48 kB / 256.7 MB, free: 1.832 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.0137, allocations: 243.3 kB / 256.9 MB, free: 1.566 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.369e-05/0.01373, allocations: 63.84 kB / 257 MB, free: 1.484 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.585e-05/0.01381, allocations: 32.88 kB / 257 MB, free: 1.453 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.01391, allocations: 91.33 kB / 257.1 MB, free: 1.363 MB / 250.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01391, allocations: 0 / 257.1 MB, free: 1.363 MB / 250.7 MB Notification: Performance of Templates: time 0.004094/0.01801, allocations: 3.051 MB / 260.1 MB, free: 14.35 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.3874551402404904]