Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00134/0.00134, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001727/0.001727, allocations: 210.7 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 230.5 MB / 258.1 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.25/0.25, allocations: 46.96 MB / 361.6 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") translateModel(ModelicaTest.Magnetic.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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003436/0.003436, allocations: 83.88 kB / 0.4974 GB, free: 7.055 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3223, allocations: 66.08 MB / 0.5619 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003818/0.3261, allocations: 2.231 MB / 0.5641 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.3274, allocations: 0.6351 MB / 0.5647 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.657e-05/0.3275, allocations: 8 kB / 0.5647 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.463e-05/0.3276, allocations: 39.58 kB / 0.5647 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.3277, allocations: 67.34 kB / 0.5648 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.328, allocations: 91.86 kB / 0.5649 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003589/0.3284, allocations: 351.2 kB / 0.5652 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002453/0.3286, allocations: 103.6 kB / 0.5653 GB, free: 472 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002586/0.3289, allocations: 155.5 kB / 0.5655 GB, free: 316 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.3291, allocations: 131.4 kB / 0.5656 GB, free: 184 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.287e-05/0.3292, allocations: 36 kB / 0.5656 GB, free: 148 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.87e-05/0.3292, allocations: 36 kB / 0.5657 GB, free: 112 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.323e-05/0.3293, allocations: 67.77 kB / 0.5657 GB, free: 44 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.3295, allocations: 135.6 kB / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004319/0.3299, allocations: 380.9 kB / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.3299, allocations: 4 kB / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3299, allocations: 0 / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.3299, allocations: 0 / 0.5662 GB, free: 15.54 MB / 414.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.000968/0.3309, allocations: 0.5055 MB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3309, allocations: 12.03 kB / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003228/0.3312, allocations: 52.69 kB / 0.5668 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.3314, allocations: 147.9 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.3314, allocations: 25.03 kB / 0.567 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.83e-05/0.3315, allocations: 28.38 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005019/0.332, allocations: 286.3 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.332, allocations: 0 / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.332, allocations: 16 kB / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.3321, allocations: 11.94 kB / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004136/0.3325, allocations: 210.5 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/0.3341, allocations: 0.8541 MB / 0.5683 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.26e-05/0.3342, allocations: 34.52 kB / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.498e-05/0.3343, allocations: 20.92 kB / 0.5684 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.3343, allocations: 0 / 0.5684 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.3343, allocations: 46.55 kB / 0.5684 GB, free: 13.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.3343, allocations: 0 / 0.5684 GB, free: 13.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002035/0.3345, allocations: 65.55 kB / 0.5685 GB, free: 13.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.3345, allocations: 55.34 kB / 0.5685 GB, free: 13.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/0.3349, allocations: 269.1 kB / 0.5688 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.3349, allocations: 25.7 kB / 0.5688 GB, free: 12.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.3351, allocations: 247.3 kB / 0.569 GB, free: 12.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.3351, allocations: 15.94 kB / 0.5691 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.486e-05/0.3352, allocations: 53.66 kB / 0.5691 GB, free: 12.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.3354, allocations: 323 kB / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.3355, allocations: 71.97 kB / 0.5695 GB, free: 12.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.3357, allocations: 89.69 kB / 0.5696 GB, free: 11.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.3359, allocations: 121.7 kB / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3359, allocations: 0 / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004139/0.3363, allocations: 230 kB / 0.5699 GB, free: 11.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3363, allocations: 4 kB / 0.5699 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3363, allocations: 0 / 0.5699 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.3363, allocations: 7.938 kB / 0.5699 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.3367, allocations: 59.92 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.3367, allocations: 7.938 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.3369, allocations: 35.73 kB / 0.57 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.3369, allocations: 8 kB / 0.57 GB, free: 11.45 MB / 414.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.0001334/0.3371, allocations: 133.8 kB / 0.5702 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.3371, allocations: 11.91 kB / 0.5702 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.993e-05/0.3371, allocations: 20.64 kB / 0.5702 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.3371, allocations: 7.938 kB / 0.5702 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3371, allocations: 0 / 0.5702 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3371, allocations: 0 / 0.5702 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005997/0.3377, allocations: 431.1 kB / 0.5706 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3377, allocations: 0 / 0.5706 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.227e-05/0.3378, allocations: 3.938 kB / 0.5706 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3378, allocations: 4 kB / 0.5706 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.3378, allocations: 0 / 0.5706 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3378, allocations: 0 / 0.5706 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3378, allocations: 3.984 kB / 0.5706 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.3379, allocations: 97.84 kB / 0.5707 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.665e-05/0.338, allocations: 23.77 kB / 0.5707 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.338, allocations: 8.094 kB / 0.5707 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.3381, allocations: 0 / 0.5707 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.3381, allocations: 4 kB / 0.5707 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.3381, allocations: 3.984 kB / 0.5707 GB, free: 10.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002122/0.3384, allocations: 179.5 kB / 0.5709 GB, free: 10.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3384, allocations: 0 / 0.5709 GB, free: 10.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002896/0.3386, allocations: 71.78 kB / 0.571 GB, free: 10.39 MB / 414.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.0001242/0.3388, allocations: 91.25 kB / 0.5711 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002647/0.339, allocations: 103.9 kB / 0.5712 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.339, allocations: 0 / 0.5712 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.79e-05/0.3391, allocations: 11.94 kB / 0.5712 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.3393, allocations: 20.59 kB / 0.5712 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007164/0.34, allocations: 393.2 kB / 0.5716 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.3402, allocations: 138 kB / 0.5717 GB, free: 9.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.998e-05/0.3402, allocations: 19.42 kB / 0.5717 GB, free: 9.57 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3402, allocations: 0 / 0.5717 GB, free: 9.57 MB / 414.1 MB Notification: Performance of Templates: time 0.004958/0.3452, allocations: 2.659 MB / 0.5743 GB, free: 6.922 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.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: 7.363291344139725]