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.001484/0.001484, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001577/0.001577, allocations: 207.9 kB / 23.73 MB, free: 4.391 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.554/1.554, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.2412/0.2412, allocations: 46.94 MB / 360.8 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 179] 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.002565/0.002565, allocations: 75.88 kB / 0.4966 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3814, allocations: 66.09 MB / 0.5612 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003776/0.3852, allocations: 2.219 MB / 0.5633 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.3864, allocations: 0.6351 MB / 0.564 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.426e-05/0.3865, allocations: 4 kB / 0.564 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.577e-05/0.3866, allocations: 39.58 kB / 0.564 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.3867, allocations: 71.28 kB / 0.5641 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.387, allocations: 95.81 kB / 0.5642 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003801/0.3874, allocations: 351.2 kB / 0.5645 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002517/0.3877, allocations: 103.6 kB / 0.5646 GB, free: 436 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002682/0.3879, allocations: 151.5 kB / 0.5647 GB, free: 284 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.3881, allocations: 139.3 kB / 0.5649 GB, free: 144 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.973e-05/0.3882, allocations: 35.94 kB / 0.5649 GB, free: 108 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-05/0.3883, allocations: 36 kB / 0.5649 GB, free: 72 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.968e-05/0.3883, allocations: 63.83 kB / 0.565 GB, free: 8 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.3885, allocations: 135.6 kB / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004397/0.3889, allocations: 384.9 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3889, allocations: 0 / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3889, allocations: 0 / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.389, allocations: 0 / 0.5655 GB, free: 15.5 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.0009831/0.3899, allocations: 0.5055 MB / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.39, allocations: 8.031 kB / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003005/0.3903, allocations: 52.69 kB / 0.5661 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.3905, allocations: 148.3 kB / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.3905, allocations: 29.03 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.525e-05/0.3905, allocations: 28.38 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/0.391, allocations: 282.4 kB / 0.5665 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.3911, allocations: 0 / 0.5665 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.051e-05/0.3911, allocations: 19.94 kB / 0.5665 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.3911, allocations: 11.94 kB / 0.5665 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004029/0.3915, allocations: 210.5 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/0.3931, allocations: 0.8581 MB / 0.5676 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.154e-05/0.3932, allocations: 34.52 kB / 0.5676 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.845e-05/0.3933, allocations: 24.92 kB / 0.5676 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.3933, allocations: 0 / 0.5676 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.3933, allocations: 34.55 kB / 0.5677 GB, free: 13.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.3933, allocations: 0 / 0.5677 GB, free: 13.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002254/0.3935, allocations: 69.55 kB / 0.5677 GB, free: 13.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.3936, allocations: 51.41 kB / 0.5678 GB, free: 13.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003213/0.3939, allocations: 265.1 kB / 0.568 GB, free: 12.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.3939, allocations: 25.7 kB / 0.5681 GB, free: 12.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.3941, allocations: 255.5 kB / 0.5683 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.3941, allocations: 11.94 kB / 0.5683 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.122e-05/0.3942, allocations: 57.59 kB / 0.5684 GB, free: 12.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3943, allocations: 326.8 kB / 0.5687 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.3945, allocations: 63.97 kB / 0.5688 GB, free: 11.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.3946, allocations: 89.69 kB / 0.5688 GB, free: 11.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.3948, allocations: 121.7 kB / 0.569 GB, free: 11.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3948, allocations: 3.984 kB / 0.569 GB, free: 11.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003877/0.3952, allocations: 226 kB / 0.5692 GB, free: 11.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3953, allocations: 12.03 kB / 0.5692 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3953, allocations: 3.938 kB / 0.5692 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.3953, allocations: 3.938 kB / 0.5692 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.3956, allocations: 59.89 kB / 0.5692 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.3956, allocations: 3.938 kB / 0.5693 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.3958, allocations: 31.73 kB / 0.5693 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.3958, allocations: 15.98 kB / 0.5693 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.000121/0.3959, allocations: 129.8 kB / 0.5694 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.034e-05/0.396, allocations: 15.91 kB / 0.5694 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.976e-05/0.396, allocations: 24.64 kB / 0.5695 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.396, allocations: 3.938 kB / 0.5695 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.396, allocations: 0 / 0.5695 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.396, allocations: 0 / 0.5695 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005499/0.3966, allocations: 423.1 kB / 0.5699 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3966, allocations: 0 / 0.5699 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.233e-05/0.3966, allocations: 7.938 kB / 0.5699 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3966, allocations: 0 / 0.5699 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.3966, allocations: 0 / 0.5699 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3966, allocations: 4 kB / 0.5699 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3966, allocations: 8.047 kB / 0.5699 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.3968, allocations: 89.91 kB / 0.57 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.3968, allocations: 23.83 kB / 0.57 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.3968, allocations: 7.938 kB / 0.57 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.712e-05/0.3969, allocations: 0 / 0.57 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/0.3969, allocations: 0 / 0.57 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.397, allocations: 7.984 kB / 0.57 GB, free: 10.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002227/0.3972, allocations: 179.5 kB / 0.5702 GB, free: 10.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3972, allocations: 0 / 0.5702 GB, free: 10.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.3974, allocations: 71.78 kB / 0.5702 GB, free: 10.36 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.000109/0.3976, allocations: 95.28 kB / 0.5703 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002515/0.3978, allocations: 95.91 kB / 0.5704 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3978, allocations: 4 kB / 0.5704 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.505e-05/0.3978, allocations: 11.94 kB / 0.5704 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.3981, allocations: 32.53 kB / 0.5705 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000702/0.3988, allocations: 367.6 kB / 0.5708 GB, free: 9.734 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.399, allocations: 137.8 kB / 0.571 GB, free: 9.578 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.651e-05/0.3991, allocations: 21.62 kB / 0.571 GB, free: 9.559 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.3991, allocations: 19.42 kB / 0.571 GB, free: 9.539 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3991, allocations: 3.938 kB / 0.571 GB, free: 9.535 MB / 414.1 MB Notification: Performance of Templates: time 0.005207/0.4044, allocations: 1.849 MB / 0.5728 GB, free: 7.707 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/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_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: 5.35522435605526]