Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001924/0.001924, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002405/0.002405, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.569/1.569, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2457/0.2457, allocations: 46.93 MB / 361.6 MB, free: 4.273 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002345/0.002345, allocations: 83.86 kB / 0.4975 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.427/0.4293, allocations: 66.08 MB / 0.562 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.004034/0.4334, allocations: 2.402 MB / 0.5643 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.4346, allocations: 0.6778 MB / 0.565 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.4347, allocations: 4 kB / 0.565 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.4348, allocations: 35.59 kB / 0.565 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.435, allocations: 75.27 kB / 0.5651 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.4353, allocations: 91.88 kB / 0.5652 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003893/0.4357, allocations: 343.2 kB / 0.5655 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002643/0.4359, allocations: 119.6 kB / 0.5656 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003086/0.4362, allocations: 155.5 kB / 0.5658 GB, free: 360 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.4365, allocations: 151.4 kB / 0.5659 GB, free: 208 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.702e-05/0.4365, allocations: 32 kB / 0.566 GB, free: 176 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.646e-05/0.4366, allocations: 36 kB / 0.566 GB, free: 140 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.06e-05/0.4367, allocations: 75.8 kB / 0.5661 GB, free: 64 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.4369, allocations: 159.3 kB / 0.5662 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005479/0.4374, allocations: 381 kB / 0.5666 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4374, allocations: 0 / 0.5666 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4374, allocations: 0 / 0.5666 GB, free: 15.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.4374, allocations: 0 / 0.5666 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.0009517/0.4384, allocations: 0.5055 MB / 0.5671 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.4384, allocations: 12.03 kB / 0.5671 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003362/0.4387, allocations: 48.69 kB / 0.5671 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.4389, allocations: 142.1 kB / 0.5673 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/0.439, allocations: 25.03 kB / 0.5673 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.845e-05/0.439, allocations: 28.38 kB / 0.5673 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005232/0.4396, allocations: 290.3 kB / 0.5676 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.4396, allocations: 0 / 0.5676 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.4396, allocations: 16 kB / 0.5676 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.4396, allocations: 11.94 kB / 0.5676 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004548/0.4401, allocations: 210.5 kB / 0.5678 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.4419, allocations: 0.99 MB / 0.5688 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.887e-05/0.442, allocations: 30.52 kB / 0.5688 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.991e-05/0.4421, allocations: 28.91 kB / 0.5688 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.4421, allocations: 3.984 kB / 0.5688 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.4422, allocations: 38.56 kB / 0.5689 GB, free: 13.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.4422, allocations: 0 / 0.5689 GB, free: 13.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002263/0.4424, allocations: 73.55 kB / 0.569 GB, free: 12.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.4424, allocations: 51.41 kB / 0.569 GB, free: 12.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004127/0.4428, allocations: 324 kB / 0.5693 GB, free: 12.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.4429, allocations: 29.7 kB / 0.5693 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.4431, allocations: 235.5 kB / 0.5696 GB, free: 12.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.312e-05/0.4431, allocations: 7.953 kB / 0.5696 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.967e-05/0.4432, allocations: 65.77 kB / 0.5696 GB, free: 12.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.4433, allocations: 326.8 kB / 0.5699 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.4435, allocations: 63.97 kB / 0.57 GB, free: 11.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.4436, allocations: 93.67 kB / 0.5701 GB, free: 11.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.4438, allocations: 117.7 kB / 0.5702 GB, free: 11.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4438, allocations: 0 / 0.5702 GB, free: 11.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004402/0.4443, allocations: 242 kB / 0.5704 GB, free: 11.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.4443, allocations: 4 kB / 0.5704 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.4443, allocations: 3.938 kB / 0.5704 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.4443, allocations: 7.984 kB / 0.5705 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.4446, allocations: 51.91 kB / 0.5705 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.4446, allocations: 0 / 0.5705 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.4448, allocations: 39.67 kB / 0.5705 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.4449, allocations: 15.98 kB / 0.5706 GB, free: 11.26 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.0001402/0.445, allocations: 133.8 kB / 0.5707 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.445, allocations: 19.86 kB / 0.5707 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.799e-05/0.4451, allocations: 32.92 kB / 0.5707 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4451, allocations: 0 / 0.5707 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.4451, allocations: 3.938 kB / 0.5707 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.4451, allocations: 0 / 0.5707 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006126/0.4457, allocations: 490.4 kB / 0.5712 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4457, allocations: 4.062 kB / 0.5712 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.938e-05/0.4458, allocations: 4 kB / 0.5712 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4458, allocations: 0 / 0.5712 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.4458, allocations: 4 kB / 0.5712 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.4458, allocations: 4 kB / 0.5712 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.4458, allocations: 3.984 kB / 0.5712 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.4459, allocations: 97.78 kB / 0.5713 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.335e-05/0.446, allocations: 31.78 kB / 0.5713 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.446, allocations: 0 / 0.5713 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.4461, allocations: 0 / 0.5713 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.4461, allocations: 7.984 kB / 0.5714 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.4461, allocations: 0 / 0.5714 GB, free: 10.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00027/0.4464, allocations: 223.1 kB / 0.5716 GB, free: 10.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4464, allocations: 0 / 0.5716 GB, free: 10.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.4467, allocations: 63.89 kB / 0.5716 GB, free: 10.06 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.0001159/0.4468, allocations: 103.2 kB / 0.5717 GB, free: 9.953 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002556/0.447, allocations: 99.91 kB / 0.5718 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.447, allocations: 0 / 0.5718 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.999e-05/0.4471, allocations: 15.94 kB / 0.5718 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.4474, allocations: 24.91 kB / 0.5719 GB, free: 9.812 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007177/0.4481, allocations: 363.8 kB / 0.5722 GB, free: 9.426 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.4485, allocations: 0.744 MB / 0.5729 GB, free: 8.652 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001104/0.4486, allocations: 29.92 kB / 0.573 GB, free: 8.625 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.453e-05/0.4487, allocations: 15.44 kB / 0.573 GB, free: 8.613 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4487, allocations: 0 / 0.573 GB, free: 8.613 MB / 414.1 MB Notification: Performance of Templates: time 0.005492/0.4542, allocations: 1.94 MB / 0.5749 GB, free: 6.684 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.4577518459409475]