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.001694/0.001694, allocations: 110.5 kB / 21.22 MB, free: 0.5156 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.002102/0.002102, allocations: 208 kB / 24.54 MB, free: 3.906 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.537/1.537, allocations: 230.3 MB / 258 MB, free: 8.176 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.2524/0.2524, allocations: 46.94 MB / 361.4 MB, free: 4.352 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.002645/0.002645, allocations: 83.86 kB / 0.4971 GB, free: 7.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4035, allocations: 66.05 MB / 0.5616 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.004521/0.408, allocations: 2.394 MB / 0.564 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.4094, allocations: 0.67 MB / 0.5646 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.4095, allocations: 4 kB / 0.5646 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.4096, allocations: 39.58 kB / 0.5647 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.4098, allocations: 67.34 kB / 0.5647 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.4101, allocations: 103.8 kB / 0.5648 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003758/0.4105, allocations: 335.3 kB / 0.5652 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002963/0.4108, allocations: 127.5 kB / 0.5653 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002953/0.4111, allocations: 147.6 kB / 0.5654 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.4113, allocations: 151.4 kB / 0.5656 GB, free: 444 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.878e-05/0.4114, allocations: 36 kB / 0.5656 GB, free: 408 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.172e-05/0.4115, allocations: 36 kB / 0.5656 GB, free: 372 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.583e-05/0.4115, allocations: 75.8 kB / 0.5657 GB, free: 296 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.4117, allocations: 155.3 kB / 0.5659 GB, free: 140 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004588/0.4122, allocations: 381 kB / 0.5662 GB, free: 15.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.4122, allocations: 0 / 0.5662 GB, free: 15.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4122, allocations: 3.938 kB / 0.5662 GB, free: 15.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.4122, allocations: 0 / 0.5662 GB, free: 15.77 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.4132, allocations: 0.5094 MB / 0.5667 GB, free: 15.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4132, allocations: 8.031 kB / 0.5667 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003172/0.4136, allocations: 52.67 kB / 0.5668 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.4137, allocations: 146.1 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.727e-05/0.4138, allocations: 25.03 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.379e-05/0.4138, allocations: 40.36 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000534/0.4144, allocations: 274.4 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.4144, allocations: 4 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/0.4144, allocations: 8 kB / 0.5673 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.4144, allocations: 8 kB / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.4148, allocations: 214.5 kB / 0.5675 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.4166, allocations: 0.9899 MB / 0.5684 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.593e-05/0.4167, allocations: 30.58 kB / 0.5685 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.628e-05/0.4168, allocations: 24.91 kB / 0.5685 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.4168, allocations: 0 / 0.5685 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.4168, allocations: 38.56 kB / 0.5685 GB, free: 13.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.4168, allocations: 0 / 0.5685 GB, free: 13.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002399/0.417, allocations: 73.48 kB / 0.5686 GB, free: 13.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.4171, allocations: 51.41 kB / 0.5686 GB, free: 13.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/0.4175, allocations: 328.1 kB / 0.569 GB, free: 12.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.4175, allocations: 25.7 kB / 0.569 GB, free: 12.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.4177, allocations: 235.5 kB / 0.5692 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.4177, allocations: 20.06 kB / 0.5692 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.4178, allocations: 49.66 kB / 0.5693 GB, free: 12.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.418, allocations: 334.8 kB / 0.5696 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.4181, allocations: 59.98 kB / 0.5696 GB, free: 12.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.4183, allocations: 85.67 kB / 0.5697 GB, free: 11.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.4185, allocations: 130.1 kB / 0.5698 GB, free: 11.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4185, allocations: 4 kB / 0.5699 GB, free: 11.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004412/0.419, allocations: 237.4 kB / 0.5701 GB, free: 11.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.419, allocations: 8 kB / 0.5701 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.419, allocations: 7.875 kB / 0.5701 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/0.419, allocations: 3.984 kB / 0.5701 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.4193, allocations: 47.97 kB / 0.5701 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.4193, allocations: 8 kB / 0.5702 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/0.4196, allocations: 43.66 kB / 0.5702 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.4196, allocations: 4 kB / 0.5702 GB, free: 11.49 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.0001476/0.4197, allocations: 141.8 kB / 0.5703 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/0.4198, allocations: 23.86 kB / 0.5704 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.442e-05/0.4198, allocations: 24.92 kB / 0.5704 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.4198, allocations: 0 / 0.5704 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4199, allocations: 4 kB / 0.5704 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4199, allocations: 0 / 0.5704 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006782/0.4205, allocations: 490.4 kB / 0.5709 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4205, allocations: 4 kB / 0.5709 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.864e-05/0.4206, allocations: 0 / 0.5709 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.4206, allocations: 7.984 kB / 0.5709 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.4206, allocations: 0 / 0.5709 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4206, allocations: 0 / 0.5709 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.4206, allocations: 3.938 kB / 0.5709 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.4207, allocations: 101.9 kB / 0.571 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/0.4208, allocations: 23.84 kB / 0.571 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.4208, allocations: 0 / 0.571 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.4209, allocations: 7.984 kB / 0.571 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.421, allocations: 0 / 0.571 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.421, allocations: 0 / 0.571 GB, free: 10.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000274/0.4212, allocations: 223.1 kB / 0.5712 GB, free: 10.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4212, allocations: 0 / 0.5712 GB, free: 10.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.4215, allocations: 63.89 kB / 0.5713 GB, free: 10.3 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.000132/0.4216, allocations: 107.2 kB / 0.5714 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002757/0.4219, allocations: 99.84 kB / 0.5715 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4219, allocations: 0 / 0.5715 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.298e-05/0.4219, allocations: 8 kB / 0.5715 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.4223, allocations: 31.25 kB / 0.5715 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007774/0.4231, allocations: 375.7 kB / 0.5719 GB, free: 9.648 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.4235, allocations: 0.7401 MB / 0.5726 GB, free: 8.879 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.4236, allocations: 29.92 kB / 0.5726 GB, free: 8.852 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.283e-05/0.4236, allocations: 15.44 kB / 0.5726 GB, free: 8.84 MB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4236, allocations: 0 / 0.5726 GB, free: 8.84 MB / 414.1 MB Notification: Performance of Templates: time 0.005664/0.4293, allocations: 1.945 MB / 0.5745 GB, free: 6.91 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.0.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.5480812499299645]