Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.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.001559/0.001559, allocations: 76.42 kB / 19.93 MB, free: 1.781 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.001773/0.001773, allocations: 166.8 kB / 23.21 MB, free: 4.906 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.725/1.725, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2484/0.2484, allocations: 32.38 MB / 269.6 MB, free: 4.668 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage") translateModel(ModelicaTest.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0 / 407.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.195e-05/3.435e-05, allocations: 2.281 kB / 407.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.004924/0.004958, allocations: 2.16 MB / 409.5 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.006563, allocations: 0.6434 MB / 410.1 MB, free: 224 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002443/0.006807, allocations: 4 kB / 410.2 MB, free: 220 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.006954, allocations: 35.59 kB / 410.2 MB, free: 184 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003389/0.007293, allocations: 79.27 kB / 410.3 MB, free: 104 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003816/0.007675, allocations: 87.86 kB / 410.3 MB, free: 16 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007021/0.008377, allocations: 354.9 kB / 410.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003825/0.008759, allocations: 115.6 kB / 410.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000623/0.009383, allocations: 211.5 kB / 411 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.009681, allocations: 115.6 kB / 411.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.852e-05/0.009769, allocations: 36 kB / 411.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.19e-05/0.009851, allocations: 36 kB / 411.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002162/0.01007, allocations: 71.8 kB / 411.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.01027, allocations: 107.8 kB / 411.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000593/0.01086, allocations: 394.7 kB / 411.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.01087, allocations: 0 / 411.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.01087, allocations: 0 / 411.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.01088, allocations: 0 / 411.8 MB, free: 14.59 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001172/0.01205, allocations: 0.5054 MB / 412.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.0121, allocations: 8.031 kB / 412.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.01221, allocations: 36.7 kB / 412.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.01242, allocations: 145.4 kB / 412.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.861e-05/0.01246, allocations: 21.03 kB / 412.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.01251, allocations: 32.38 kB / 412.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006224/0.01313, allocations: 278.6 kB / 412.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.01315, allocations: 192 / 412.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/0.01318, allocations: 12.38 kB / 412.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.058e-05/0.01321, allocations: 11.94 kB / 412.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005651/0.01378, allocations: 218.5 kB / 413 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.016, allocations: 0.8466 MB / 413.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.01611, allocations: 30.52 kB / 413.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.48e-05/0.01617, allocations: 24.92 kB / 413.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-06/0.01618, allocations: 0 / 413.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.01622, allocations: 34.56 kB / 413.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.01622, allocations: 0 / 413.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002429/0.01647, allocations: 69.59 kB / 414 MB, free: 12.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.01652, allocations: 51.53 kB / 414.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004024/0.01692, allocations: 272.1 kB / 414.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.01695, allocations: 25.7 kB / 414.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/0.01719, allocations: 247.4 kB / 414.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.01721, allocations: 15.88 kB / 414.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.01732, allocations: 53.66 kB / 414.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002284/0.01755, allocations: 326.8 kB / 415 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.0177, allocations: 63.97 kB / 415 MB, free: 11.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.01787, allocations: 93.67 kB / 415.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.01819, allocations: 127 kB / 415.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.0182, allocations: 8 kB / 415.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004573/0.01865, allocations: 225.5 kB / 415.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.01867, allocations: 4 kB / 415.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.01868, allocations: 0 / 415.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.0187, allocations: 4 kB / 415.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.01903, allocations: 59.89 kB / 415.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.01903, allocations: 0 / 415.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.01929, allocations: 35.67 kB / 415.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.01931, allocations: 11.98 kB / 415.6 MB, free: 10.56 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * 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.0002133/0.01952, allocations: 136 kB / 415.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.01957, allocations: 15.91 kB / 415.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.718e-05/0.0196, allocations: 16.66 kB / 415.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.01961, allocations: 0 / 415.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.01962, allocations: 3.984 kB / 415.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01962, allocations: 11.88 kB / 415.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006748/0.02029, allocations: 415.1 kB / 416.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.0203, allocations: 0 / 416.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.654e-05/0.02033, allocations: 11.92 kB / 416.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.02033, allocations: 4.062 kB / 416.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.02034, allocations: 4 kB / 416.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.02035, allocations: 3.938 kB / 416.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.02035, allocations: 0 / 416.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.02051, allocations: 89.91 kB / 416.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.02056, allocations: 15.89 kB / 416.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.02059, allocations: 8 kB / 416.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.0207, allocations: 11.86 kB / 416.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/0.02071, allocations: 0 / 416.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.02072, allocations: 4 kB / 416.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003427/0.02106, allocations: 183.6 kB / 416.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02106, allocations: 0 / 416.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003281/0.02139, allocations: 71.78 kB / 416.6 MB, free: 9.504 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001281/0.02152, allocations: 91.25 kB / 416.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003046/0.02182, allocations: 103.9 kB / 416.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.02182, allocations: 0 / 416.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.592e-05/0.02185, allocations: 8 kB / 416.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.0222, allocations: 32.78 kB / 416.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008134/0.02301, allocations: 364.2 kB / 417.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.02317, allocations: 133.8 kB / 417.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.02327, allocations: 17.62 kB / 417.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.02333, allocations: 16.5 kB / 417.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.02333, allocations: 0 / 417.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of Templates: time 0.006186/0.02951, allocations: 1.577 MB / 418.9 MB, free: 7.125 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.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.5049269162118435]