Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001965/0.001965, allocations: 75.59 kB / 21.24 MB, free: 0.6484 MB / 14.72 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.002132/0.002132, allocations: 165.9 kB / 24.5 MB, free: 3.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 158.6 MB / 186.2 MB, free: 6.516 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002806/0.002806, allocations: 52.31 kB / 298.6 MB, free: 9.082 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3081, allocations: 49.14 MB / 347.7 MB, free: 15.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.01337/0.3214, allocations: 7.168 MB / 354.9 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.3225, allocations: 0.5694 MB / 355.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.71e-05/0.3226, allocations: 3.938 kB / 355.5 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.3229, allocations: 35.83 kB / 355.5 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.3249, allocations: 0.6072 MB / 356.1 MB, free: 9.023 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.3251, allocations: 91.86 kB / 356.2 MB, free: 8.934 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000278/0.3254, allocations: 191.2 kB / 356.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.3254, allocations: 4 kB / 356.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.3268, allocations: 0.6508 MB / 357 MB, free: 8.094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.3269, allocations: 51.75 kB / 357.1 MB, free: 8.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.327, allocations: 8 kB / 357.1 MB, free: 8.035 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.3286, allocations: 0.8657 MB / 358 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.554e-05/0.3286, allocations: 27.89 kB / 358 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.003e-05/0.3287, allocations: 35.88 kB / 358 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004431/0.3291, allocations: 237.5 kB / 358.3 MB, free: 6.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3292, allocations: 3.938 kB / 358.3 MB, free: 6.871 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3292, allocations: 4 kB / 358.3 MB, free: 6.867 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.3292, allocations: 3.938 kB / 358.3 MB, free: 6.863 MB / 318.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.0005867/0.3297, allocations: 349.7 kB / 358.6 MB, free: 6.492 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3298, allocations: 11.98 kB / 358.6 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004066/0.3302, allocations: 32.86 kB / 358.7 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.3305, allocations: 134.4 kB / 358.8 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.3305, allocations: 8.375 kB / 358.8 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.3305, allocations: 8.375 kB / 358.8 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.3309, allocations: 222.2 kB / 359 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3309, allocations: 4 kB / 359 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.3309, allocations: 8 kB / 359 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3309, allocations: 0 / 359 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.3311, allocations: 107.9 kB / 359.1 MB, free: 5.906 MB / 318.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.000842/0.332, allocations: 0.5515 MB / 359.7 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.3322, allocations: 82.34 kB / 359.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.013e-05/0.3322, allocations: 32.84 kB / 359.8 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000293/0.3325, allocations: 60.19 kB / 359.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.3326, allocations: 38.5 kB / 359.9 MB, free: 5.078 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.3326, allocations: 4 kB / 359.9 MB, free: 5.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003662/0.3329, allocations: 129.5 kB / 360 MB, free: 4.941 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.333, allocations: 55.41 kB / 360.1 MB, free: 4.875 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.3331, allocations: 117.8 kB / 360.2 MB, free: 4.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.3331, allocations: 29.7 kB / 360.2 MB, free: 4.715 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.451e-05/0.3332, allocations: 99.94 kB / 360.3 MB, free: 4.613 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.3333, allocations: 47.58 kB / 360.4 MB, free: 4.566 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.844e-05/0.3333, allocations: 37.7 kB / 360.4 MB, free: 4.523 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.3335, allocations: 322.8 kB / 360.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.52e-05/0.3336, allocations: 24 kB / 360.7 MB, free: 4.176 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.814e-05/0.3337, allocations: 73.12 kB / 360.8 MB, free: 4.086 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.3339, allocations: 109 kB / 360.9 MB, free: 3.961 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3339, allocations: 0 / 360.9 MB, free: 3.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002512/0.3341, allocations: 134 kB / 361.1 MB, free: 3.824 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3341, allocations: 12.14 kB / 361.1 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3341, allocations: 4 kB / 361.1 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.3342, allocations: 4 kB / 361.1 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.3343, allocations: 31.98 kB / 361.1 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3343, allocations: 4 kB / 361.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.063e-05/0.3344, allocations: 11.89 kB / 361.1 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.3344, allocations: 8 kB / 361.1 MB, free: 3.75 MB / 318.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 0.0001103/0.3345, allocations: 125.7 kB / 361.3 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.3345, allocations: 7.953 kB / 361.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003251/0.3349, allocations: 150.4 kB / 361.4 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.3349, allocations: 7.938 kB / 361.4 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3349, allocations: 0 / 361.4 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3349, allocations: 3.938 kB / 361.4 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004838/0.3354, allocations: 326.2 kB / 361.7 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3354, allocations: 0 / 361.7 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.455e-05/0.3355, allocations: 23.92 kB / 361.8 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3355, allocations: 4 kB / 361.8 MB, free: 3.062 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.3355, allocations: 4 kB / 361.8 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.3355, allocations: 7.875 kB / 361.8 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3355, allocations: 7.984 kB / 361.8 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.3357, allocations: 199.5 kB / 362 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.428e-05/0.3358, allocations: 27.88 kB / 362 MB, free: 2.805 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.3358, allocations: 0 / 362 MB, free: 2.805 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.3359, allocations: 3.938 kB / 362 MB, free: 2.801 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.336, allocations: 11.98 kB / 362 MB, free: 2.789 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.336, allocations: 11.98 kB / 362 MB, free: 2.777 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.869e-05/0.336, allocations: 87.28 kB / 362.1 MB, free: 2.691 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.336, allocations: 3.938 kB / 362.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003802/0.3364, allocations: 63.86 kB / 362.2 MB, free: 2.625 MB / 318.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.0003579/0.3368, allocations: 151.1 kB / 362.3 MB, free: 2.469 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002644/0.337, allocations: 75.91 kB / 362.4 MB, free: 2.395 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.337, allocations: 320 / 362.4 MB, free: 2.395 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.935e-05/0.3371, allocations: 43.92 kB / 362.4 MB, free: 2.352 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/0.3376, allocations: 44.39 kB / 362.5 MB, free: 2.309 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005626/0.3382, allocations: 244.2 kB / 362.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.3383, allocations: 75.83 kB / 362.8 MB, free: 1.949 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001315/0.3384, allocations: 36.83 kB / 362.8 MB, free: 1.91 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.301e-05/0.3385, allocations: 20.5 kB / 362.9 MB, free: 1.891 MB / 318.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3385, allocations: 0 / 362.9 MB, free: 1.891 MB / 318.1 MB Notification: Performance of Templates: time 0.00689/0.3453, allocations: 2.464 MB / 365.3 MB, free: 15.42 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.010501408949494]