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.002019/0.002019, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002654/0.002654, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.564/1.564, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.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.002085/0.002085, allocations: 58.73 kB / 347.7 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3132, allocations: 49.15 MB / 396.8 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.00947/0.3226, allocations: 7.175 MB / 404 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007491/0.3234, allocations: 0.5715 MB / 404.6 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.113e-05/0.3234, allocations: 1.062 kB / 404.6 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.3237, allocations: 27.39 kB / 404.6 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001694/0.3254, allocations: 0.6075 MB / 405.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.3256, allocations: 97.12 kB / 405.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.3259, allocations: 188 kB / 405.5 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.3259, allocations: 3.75 kB / 405.5 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.3271, allocations: 0.6279 MB / 406.1 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.302e-05/0.3272, allocations: 49.91 kB / 406.2 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.3272, allocations: 4.594 kB / 406.2 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.3286, allocations: 0.8763 MB / 407 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.928e-05/0.3287, allocations: 25.55 kB / 407.1 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.649e-05/0.3287, allocations: 40.14 kB / 407.1 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.3291, allocations: 232.7 kB / 407.3 MB, free: 3.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3291, allocations: 0.875 kB / 407.3 MB, free: 3.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3291, allocations: 4 kB / 407.3 MB, free: 3.406 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3291, allocations: 0 / 407.3 MB, free: 3.406 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.000415/0.3296, allocations: 353.5 kB / 407.7 MB, free: 3.086 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.3296, allocations: 14.88 kB / 407.7 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003909/0.33, allocations: 31.53 kB / 407.7 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.3302, allocations: 140.1 kB / 407.9 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.3302, allocations: 7.781 kB / 407.9 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.3303, allocations: 10.16 kB / 407.9 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.3305, allocations: 220.6 kB / 408.1 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3305, allocations: 5.062 kB / 408.1 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.3305, allocations: 5.156 kB / 408.1 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3305, allocations: 2.531 kB / 408.1 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.3307, allocations: 106.9 kB / 408.2 MB, free: 2.699 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.0005517/0.3313, allocations: 0.5593 MB / 408.8 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.3314, allocations: 78.58 kB / 408.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.604e-05/0.3315, allocations: 32.27 kB / 408.9 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002653/0.3317, allocations: 56.98 kB / 408.9 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.3318, allocations: 36.3 kB / 409 MB, free: 2.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.3318, allocations: 5.344 kB / 409 MB, free: 2.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002724/0.332, allocations: 128.4 kB / 409.1 MB, free: 2 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.3321, allocations: 53.78 kB / 409.2 MB, free: 1.938 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.52e-05/0.3321, allocations: 120 kB / 409.3 MB, free: 1.828 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.3322, allocations: 27.05 kB / 409.3 MB, free: 1.797 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.062e-05/0.3322, allocations: 105 kB / 409.4 MB, free: 1.695 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.3322, allocations: 54.09 kB / 409.5 MB, free: 1.652 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.3323, allocations: 33.36 kB / 409.5 MB, free: 1.629 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.225e-05/0.3323, allocations: 322.8 kB / 409.8 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.981e-05/0.3324, allocations: 26.33 kB / 409.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.788e-05/0.3324, allocations: 76.31 kB / 409.9 MB, free: 1.234 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.3325, allocations: 103.1 kB / 410 MB, free: 1.156 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3325, allocations: 0 / 410 MB, free: 1.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001868/0.3327, allocations: 135.5 kB / 410.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3327, allocations: 13.92 kB / 410.2 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.3328, allocations: 1.844 kB / 410.2 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3328, allocations: 1.625 kB / 410.2 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.3329, allocations: 38.14 kB / 410.2 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.3329, allocations: 1.312 kB / 410.2 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.819e-05/0.3329, allocations: 11.8 kB / 410.2 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.333, allocations: 11.5 kB / 410.2 MB, free: 1.047 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 6.513e-05/0.333, allocations: 118.1 kB / 410.3 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.3331, allocations: 8.016 kB / 410.3 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.3333, allocations: 145.4 kB / 410.5 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3333, allocations: 1.719 kB / 410.5 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3333, allocations: 1.781 kB / 410.5 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3333, allocations: 3.938 kB / 410.5 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/0.3337, allocations: 333.1 kB / 410.8 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3337, allocations: 0 / 410.8 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.622e-05/0.3337, allocations: 22.67 kB / 410.8 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3337, allocations: 0 / 410.8 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.3337, allocations: 11.11 kB / 410.9 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3337, allocations: 3.938 kB / 410.9 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3337, allocations: 7.984 kB / 410.9 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.3339, allocations: 202.7 kB / 411.1 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.334, allocations: 22.09 kB / 411.1 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.334, allocations: 9.312 kB / 411.1 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.904e-05/0.3341, allocations: 5.406 kB / 411.1 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.3341, allocations: 11.52 kB / 411.1 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.3341, allocations: 8.828 kB / 411.1 MB, free: 296 kB / 318.1 MB Notification: Performance of sorting global known variables: time 3.451e-05/0.3342, allocations: 91.28 kB / 411.2 MB, free: 212 kB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3342, allocations: 0 / 411.2 MB, free: 212 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003314/0.3345, allocations: 60.11 kB / 411.3 MB, free: 196 kB / 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.0002145/0.3347, allocations: 152.4 kB / 411.4 MB, free: 80 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000164/0.3349, allocations: 79.66 kB / 411.5 MB, free: 48 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3349, allocations: 4.312 kB / 411.5 MB, free: 44 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.063e-05/0.3349, allocations: 35.02 kB / 411.5 MB, free: 32 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.3353, allocations: 48.94 kB / 411.6 MB, free: 0 / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004606/0.3358, allocations: 236.9 kB / 411.8 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.098e-05/0.3359, allocations: 82.06 kB / 411.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001259/0.336, allocations: 33.8 kB / 411.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.336, allocations: 24.48 kB / 411.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.336, allocations: 1.406 kB / 411.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of Templates: time 0.006244/0.3423, allocations: 2.557 MB / 414.5 MB, free: 14.32 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: 4.817094253376126]