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.001204/0.001204, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.00135/0.00135, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.496/1.496, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.229/0.229, allocations: 46.89 MB / 361.1 MB, free: 4.652 MB / 286.1 MB " [Timeout remaining time 180] 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.002249/0.002249, allocations: 79.86 kB / 0.4968 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3332, allocations: 66 MB / 0.5612 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003664/0.3368, allocations: 2.389 MB / 0.5635 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.338, allocations: 0.67 MB / 0.5642 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.452e-05/0.3381, allocations: 4 kB / 0.5642 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.837e-05/0.3382, allocations: 39.58 kB / 0.5642 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001803/0.3384, allocations: 75.33 kB / 0.5643 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.3387, allocations: 99.75 kB / 0.5644 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000361/0.3391, allocations: 339.3 kB / 0.5647 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.3393, allocations: 115.3 kB / 0.5648 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002527/0.3396, allocations: 155.5 kB / 0.565 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.3398, allocations: 151.4 kB / 0.5651 GB, free: 1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.944e-05/0.3398, allocations: 36 kB / 0.5652 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.903e-05/0.3399, allocations: 32 kB / 0.5652 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.139e-05/0.34, allocations: 67.83 kB / 0.5653 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.3401, allocations: 159.2 kB / 0.5654 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000406/0.3405, allocations: 389.3 kB / 0.5658 GB, free: 340 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3405, allocations: 0 / 0.5658 GB, free: 340 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3405, allocations: 0 / 0.5658 GB, free: 340 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.3405, allocations: 0 / 0.5658 GB, free: 340 kB / 398.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.0009965/0.3415, allocations: 0.5847 MB / 0.5663 GB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.3416, allocations: 12.03 kB / 0.5664 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002993/0.3419, allocations: 48.69 kB / 0.5664 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.3421, allocations: 200 kB / 0.5666 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/0.3421, allocations: 25.03 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.3421, allocations: 28.38 kB / 0.5666 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005124/0.3427, allocations: 282.4 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.3427, allocations: 4 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.3427, allocations: 12 kB / 0.5669 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.3427, allocations: 8 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000405/0.3431, allocations: 210.5 kB / 0.5671 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/0.3449, allocations: 1.04 MB / 0.5682 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.446e-05/0.345, allocations: 30.58 kB / 0.5682 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/0.345, allocations: 24.92 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.345, allocations: 0 / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.3451, allocations: 38.55 kB / 0.5682 GB, free: 13.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.3451, allocations: 8 kB / 0.5683 GB, free: 13.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002135/0.3453, allocations: 69.48 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.3453, allocations: 55.41 kB / 0.5684 GB, free: 13.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003778/0.3457, allocations: 322.8 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.3457, allocations: 25.7 kB / 0.5687 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.3459, allocations: 235.5 kB / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.3459, allocations: 15.94 kB / 0.5689 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.116e-05/0.346, allocations: 57.77 kB / 0.569 GB, free: 12.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.3461, allocations: 334.8 kB / 0.5693 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.3463, allocations: 63.97 kB / 0.5694 GB, free: 12.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.3464, allocations: 85.67 kB / 0.5695 GB, free: 12.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.3466, allocations: 126.1 kB / 0.5696 GB, free: 12.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3466, allocations: 0 / 0.5696 GB, free: 12.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004039/0.347, allocations: 237.5 kB / 0.5698 GB, free: 11.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3471, allocations: 4 kB / 0.5698 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3471, allocations: 3.984 kB / 0.5698 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.3471, allocations: 7.938 kB / 0.5698 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/0.3474, allocations: 55.89 kB / 0.5699 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3474, allocations: 0 / 0.5699 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.3476, allocations: 39.67 kB / 0.5699 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.3477, allocations: 11.98 kB / 0.5699 GB, free: 11.84 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.0001212/0.3478, allocations: 133.8 kB / 0.5701 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/0.3478, allocations: 23.89 kB / 0.5701 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.72e-05/0.3479, allocations: 28.83 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3479, allocations: 0 / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3479, allocations: 0 / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.998e-05/0.348, allocations: 104.9 kB / 0.5702 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.348, allocations: 0 / 0.5702 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.3481, allocations: 4 kB / 0.5702 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-05/0.3482, allocations: 0 / 0.5702 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002351/0.3484, allocations: 136.9 kB / 0.5703 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001805/0.3486, allocations: 238.7 kB / 0.5706 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.067e-05/0.3486, allocations: 11.98 kB / 0.5706 GB, free: 11.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002567/0.3489, allocations: 226 kB / 0.5708 GB, free: 10.89 MB / 414.1 MB Notification: Performance of Backend: time 4.41e-07/0.3489, allocations: 0 / 0.5708 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005398/0.3494, allocations: 166.3 kB / 0.571 GB, free: 10.72 MB / 414.1 MB Notification: Performance of SimCode: time 0.001023/0.3504, allocations: 0.832 MB / 0.5718 GB, free: 9.84 MB / 414.1 MB Notification: Performance of Templates: time 0.006453/0.3569, allocations: 2.687 MB / 0.5744 GB, free: 7.16 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 4.911363639868796]