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.001845/0.001845, allocations: 87.67 kB / 20.21 MB, free: 4.207 MB / 18.57 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.002016/0.002016, allocations: 169.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 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.536/1.536, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 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.2095/0.2095, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] 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 1.964e-06/1.964e-06, allocations: 0 / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.61e-05/2.806e-05, allocations: 2.312 kB / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.002756/0.002784, allocations: 2.281 MB / 349.2 MB, free: 7.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009288/0.003713, allocations: 0.6515 MB / 349.9 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.776e-05/0.003811, allocations: 7.938 kB / 349.9 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.572e-05/0.003887, allocations: 39.58 kB / 349.9 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.004058, allocations: 71.33 kB / 350 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.004292, allocations: 91.81 kB / 350.1 MB, free: 6.652 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000238/0.00453, allocations: 358.9 kB / 350.4 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000236/0.004766, allocations: 107.8 kB / 350.5 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.004991, allocations: 207.6 kB / 350.7 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.005154, allocations: 111.7 kB / 350.8 MB, free: 5.887 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.373e-05/0.005197, allocations: 36 kB / 350.9 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.423e-05/0.005242, allocations: 32 kB / 350.9 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.607e-05/0.005288, allocations: 75.73 kB / 351 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.505e-05/0.005373, allocations: 111.7 kB / 351.1 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.005645, allocations: 394.8 kB / 351.5 MB, free: 5.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.005649, allocations: 0 / 351.5 MB, free: 5.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.00565, allocations: 0 / 351.5 MB, free: 5.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.005656, allocations: 0 / 351.5 MB, free: 5.25 MB / 282.7 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.0007914/0.006448, allocations: 0.6246 MB / 352.1 MB, free: 4.59 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.006482, allocations: 12.03 kB / 352.1 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.151e-05/0.006574, allocations: 56.75 kB / 352.2 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.00669, allocations: 153.2 kB / 352.3 MB, free: 4.348 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.006715, allocations: 24.97 kB / 352.3 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.006749, allocations: 32.38 kB / 352.4 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003858/0.007135, allocations: 274.6 kB / 352.6 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.007149, allocations: 192 / 352.6 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.007176, allocations: 8.375 kB / 352.6 MB, free: 4.012 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.016e-06/0.007185, allocations: 11.94 kB / 352.7 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003263/0.007511, allocations: 210.5 kB / 352.9 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.008927, allocations: 0.9787 MB / 353.8 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.18e-05/0.009009, allocations: 39 kB / 353.9 MB, free: 2.723 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.824e-05/0.009057, allocations: 31.75 kB / 353.9 MB, free: 2.688 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.009072, allocations: 0 / 353.9 MB, free: 2.688 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.009087, allocations: 37.38 kB / 353.9 MB, free: 2.641 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.009088, allocations: 4 kB / 353.9 MB, free: 2.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001948/0.009283, allocations: 69.55 kB / 354 MB, free: 2.562 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.009304, allocations: 51.41 kB / 354.1 MB, free: 2.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.009545, allocations: 346.6 kB / 354.4 MB, free: 2.145 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.767e-06/0.009553, allocations: 25.7 kB / 354.4 MB, free: 2.113 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.313e-05/0.009646, allocations: 302.1 kB / 354.7 MB, free: 1.812 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.127e-05/0.009658, allocations: 20.06 kB / 354.7 MB, free: 1.793 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.433e-05/0.009732, allocations: 67.31 kB / 354.8 MB, free: 1.719 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.752e-05/0.00981, allocations: 0.5001 MB / 355.3 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.009911, allocations: 59.97 kB / 355.4 MB, free: 1.148 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.01003, allocations: 95.33 kB / 355.5 MB, free: 1.047 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.01019, allocations: 132.5 kB / 355.6 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01019, allocations: 0 / 355.6 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002972/0.01049, allocations: 221.6 kB / 355.8 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.0105, allocations: 12.03 kB / 355.8 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.01051, allocations: 0 / 355.8 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.01052, allocations: 0 / 355.8 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.0108, allocations: 63.89 kB / 355.9 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.01081, allocations: 0 / 355.9 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.01103, allocations: 39.67 kB / 355.9 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.01105, allocations: 7.984 kB / 355.9 MB, free: 0.5664 MB / 282.7 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 8.543e-05/0.01113, allocations: 176.5 kB / 356.1 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.01117, allocations: 19.91 kB / 356.1 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.491e-05/0.0112, allocations: 16.66 kB / 356.1 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.0112, allocations: 4 kB / 356.1 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.01121, allocations: 3.984 kB / 356.1 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01121, allocations: 3.938 kB / 356.1 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006141/0.01183, allocations: 0.5468 MB / 356.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.01183, allocations: 4 kB / 356.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.443e-05/0.01186, allocations: 3.984 kB / 356.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.01187, allocations: 4 kB / 356.7 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.01188, allocations: 4 kB / 356.7 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.01188, allocations: 3.938 kB / 356.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01188, allocations: 0 / 356.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.01204, allocations: 112 kB / 356.8 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.01209, allocations: 27.88 kB / 356.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.01212, allocations: 0 / 356.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.01223, allocations: 7.922 kB / 356.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.212e-05/0.01225, allocations: 4 kB / 356.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.01225, allocations: 0 / 356.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002496/0.0125, allocations: 231.4 kB / 357.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0125, allocations: 0 / 357.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002926/0.01279, allocations: 75.78 kB / 357.2 MB, free: 15.24 MB / 298.7 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.0001245/0.01292, allocations: 91.28 kB / 357.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002918/0.01321, allocations: 127.5 kB / 357.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.01321, allocations: 3.938 kB / 357.4 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.224e-05/0.01324, allocations: 15.69 kB / 357.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.0135, allocations: 28.61 kB / 357.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007526/0.01425, allocations: 386.2 kB / 357.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.0144, allocations: 137.8 kB / 357.9 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.424e-05/0.01449, allocations: 13.64 kB / 357.9 MB, free: 14.38 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.01455, allocations: 20.5 kB / 358 MB, free: 14.36 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01455, allocations: 0 / 358 MB, free: 14.36 MB / 298.7 MB Notification: Performance of Templates: time 0.005574/0.02012, allocations: 1.593 MB / 359.6 MB, free: 12.78 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 240] 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.045366876991466]