Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.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.001399/0.001399, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001514/0.001514, allocations: 212.3 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2631/0.2631, allocations: 46.93 MB / 360.8 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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_4.1.0_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_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 75.88 kB / 0.4966 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.433/0.4352, allocations: 66.03 MB / 0.5611 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003944/0.4391, allocations: 2.398 MB / 0.5635 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.4404, allocations: 0.6701 MB / 0.5641 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.4406, allocations: 7.938 kB / 0.5641 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.4407, allocations: 39.58 kB / 0.5642 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.4409, allocations: 75.28 kB / 0.5642 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003794/0.4413, allocations: 87.88 kB / 0.5643 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004616/0.4418, allocations: 351.2 kB / 0.5647 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003139/0.4421, allocations: 111.6 kB / 0.5648 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003419/0.4424, allocations: 155.5 kB / 0.5649 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002924/0.4427, allocations: 155.4 kB / 0.5651 GB, free: 364 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.126e-05/0.4428, allocations: 36 kB / 0.5651 GB, free: 328 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.4429, allocations: 39.98 kB / 0.5651 GB, free: 288 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.245e-05/0.443, allocations: 63.83 kB / 0.5652 GB, free: 224 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.4432, allocations: 163.2 kB / 0.5654 GB, free: 60 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005104/0.4437, allocations: 376.9 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.4437, allocations: 4 kB / 0.5657 GB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.4437, allocations: 0 / 0.5657 GB, free: 15.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.4437, allocations: 0 / 0.5657 GB, free: 15.69 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.001007/0.4447, allocations: 0.5055 MB / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.4447, allocations: 12.03 kB / 0.5662 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003122/0.445, allocations: 48.69 kB / 0.5663 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.4452, allocations: 146.1 kB / 0.5664 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.038e-05/0.4453, allocations: 32.97 kB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.43e-05/0.4453, allocations: 28.38 kB / 0.5665 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005302/0.4458, allocations: 278.4 kB / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.4459, allocations: 0 / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.238e-05/0.4459, allocations: 16 kB / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.4459, allocations: 11.98 kB / 0.5668 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004076/0.4463, allocations: 214.5 kB / 0.567 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.4481, allocations: 0.9861 MB / 0.5679 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.247e-05/0.4482, allocations: 30.58 kB / 0.568 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.352e-05/0.4483, allocations: 32.86 kB / 0.568 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.4483, allocations: 0 / 0.568 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.4483, allocations: 34.56 kB / 0.568 GB, free: 13.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.4483, allocations: 0 / 0.568 GB, free: 13.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002163/0.4485, allocations: 73.53 kB / 0.5681 GB, free: 13.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.4486, allocations: 51.41 kB / 0.5681 GB, free: 13.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003976/0.449, allocations: 320.1 kB / 0.5684 GB, free: 12.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.449, allocations: 29.7 kB / 0.5685 GB, free: 12.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.4492, allocations: 235.6 kB / 0.5687 GB, free: 12.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.4492, allocations: 11.95 kB / 0.5687 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.182e-05/0.4493, allocations: 53.66 kB / 0.5688 GB, free: 12.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.4495, allocations: 334.8 kB / 0.5691 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.4496, allocations: 67.91 kB / 0.5691 GB, free: 12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.4498, allocations: 81.69 kB / 0.5692 GB, free: 11.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.45, allocations: 126.2 kB / 0.5693 GB, free: 11.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.45, allocations: 0 / 0.5693 GB, free: 11.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004151/0.4504, allocations: 245.4 kB / 0.5696 GB, free: 11.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.4504, allocations: 4 kB / 0.5696 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.4504, allocations: 3.938 kB / 0.5696 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.4504, allocations: 4 kB / 0.5696 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.4507, allocations: 55.89 kB / 0.5696 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.4508, allocations: 0 / 0.5696 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.451, allocations: 43.7 kB / 0.5697 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.451, allocations: 12 kB / 0.5697 GB, free: 11.41 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.0001524/0.4512, allocations: 129.8 kB / 0.5698 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.4512, allocations: 19.86 kB / 0.5698 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.005e-05/0.4513, allocations: 32.86 kB / 0.5699 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4513, allocations: 0 / 0.5699 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.4513, allocations: 0 / 0.5699 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4513, allocations: 0 / 0.5699 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000686/0.452, allocations: 0.4906 MB / 0.5703 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.452, allocations: 0 / 0.5703 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.452, allocations: 4 kB / 0.5703 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.452, allocations: 3.938 kB / 0.5704 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.452, allocations: 0 / 0.5704 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.452, allocations: 4 kB / 0.5704 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.452, allocations: 0 / 0.5704 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.4522, allocations: 101.9 kB / 0.5705 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.858e-05/0.4522, allocations: 27.84 kB / 0.5705 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.4523, allocations: 0 / 0.5705 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.4524, allocations: 0 / 0.5705 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.4524, allocations: 7.938 kB / 0.5705 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.4524, allocations: 0 / 0.5705 GB, free: 10.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002879/0.4527, allocations: 227.1 kB / 0.5707 GB, free: 10.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4527, allocations: 4.031 kB / 0.5707 GB, free: 10.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002773/0.453, allocations: 63.89 kB / 0.5708 GB, free: 10.21 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.0001642/0.4532, allocations: 95.19 kB / 0.5709 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002902/0.4534, allocations: 103.9 kB / 0.571 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4534, allocations: 0 / 0.571 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.559e-05/0.4535, allocations: 12 kB / 0.571 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.4539, allocations: 21.11 kB / 0.571 GB, free: 9.977 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008188/0.4547, allocations: 375.5 kB / 0.5713 GB, free: 9.578 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004732/0.4551, allocations: 0.744 MB / 0.5721 GB, free: 8.809 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.4553, allocations: 25.94 kB / 0.5721 GB, free: 8.785 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.485e-05/0.4553, allocations: 15.44 kB / 0.5721 GB, free: 8.773 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4553, allocations: 0 / 0.5721 GB, free: 8.773 MB / 414.1 MB Notification: Performance of Templates: time 0.005992/0.4613, allocations: 1.949 MB / 0.574 GB, free: 6.84 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.503082640003413]