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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001573/0.001573, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001322/0.001322, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.234/0.234, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 75.88 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4647/0.4661, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.0041/0.4703, allocations: 2.372 MB / 0.5333 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.4715, allocations: 0.6596 MB / 0.5339 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.128e-05/0.4716, allocations: 8.062 kB / 0.5339 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.557e-05/0.4717, allocations: 47.7 kB / 0.534 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002021/0.4719, allocations: 74.14 kB / 0.5341 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.4722, allocations: 85.52 kB / 0.5341 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003991/0.4726, allocations: 348.7 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003645/0.473, allocations: 162.2 kB / 0.5346 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003135/0.4733, allocations: 147.2 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.4736, allocations: 156.1 kB / 0.5349 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.879e-05/0.4736, allocations: 37.47 kB / 0.535 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.4737, allocations: 39.44 kB / 0.535 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.33e-05/0.4738, allocations: 64.14 kB / 0.5351 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.474, allocations: 158.1 kB / 0.5352 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004112/0.4744, allocations: 374.4 kB / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.4744, allocations: 4 kB / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4744, allocations: 4 kB / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.4744, allocations: 1.375 kB / 0.5356 GB, free: 10.07 MB / 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.001002/0.4754, allocations: 0.5826 MB / 0.5361 GB, free: 9.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.4755, allocations: 9.312 kB / 0.5362 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003922/0.4759, allocations: 45.3 kB / 0.5362 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.4761, allocations: 199.5 kB / 0.5364 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.4761, allocations: 20.72 kB / 0.5364 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/0.4762, allocations: 33.12 kB / 0.5364 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005476/0.4768, allocations: 278.4 kB / 0.5367 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.4768, allocations: 3.938 kB / 0.5367 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.4768, allocations: 14.47 kB / 0.5367 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.4768, allocations: 11.91 kB / 0.5367 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004379/0.4773, allocations: 215 kB / 0.5369 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.4791, allocations: 1.02 MB / 0.5379 GB, free: 8.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.645e-05/0.4792, allocations: 31.08 kB / 0.538 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.609e-05/0.4793, allocations: 24.48 kB / 0.538 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.4793, allocations: 1.281 kB / 0.538 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.4794, allocations: 31.84 kB / 0.538 GB, free: 8.094 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.4794, allocations: 0 / 0.538 GB, free: 8.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002542/0.4796, allocations: 85.06 kB / 0.5381 GB, free: 8.027 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.4797, allocations: 51.41 kB / 0.5381 GB, free: 7.965 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004394/0.4801, allocations: 318 kB / 0.5385 GB, free: 7.754 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.4801, allocations: 29.64 kB / 0.5385 GB, free: 7.719 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.4803, allocations: 230.8 kB / 0.5387 GB, free: 7.508 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/0.4803, allocations: 10.72 kB / 0.5387 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.727e-05/0.4805, allocations: 57.78 kB / 0.5388 GB, free: 7.457 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4806, allocations: 327 kB / 0.5391 GB, free: 7.133 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.4807, allocations: 68.47 kB / 0.5391 GB, free: 7.098 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.4809, allocations: 88.98 kB / 0.5392 GB, free: 7.043 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.4811, allocations: 119.5 kB / 0.5393 GB, free: 6.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4811, allocations: 3.938 kB / 0.5393 GB, free: 6.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004314/0.4816, allocations: 235.1 kB / 0.5396 GB, free: 6.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.4816, allocations: 4.625 kB / 0.5396 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.4816, allocations: 9.094 kB / 0.5396 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.4817, allocations: 1.219 kB / 0.5396 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/0.482, allocations: 61.02 kB / 0.5396 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.482, allocations: 2.406 kB / 0.5396 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.4822, allocations: 38.12 kB / 0.5397 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.4822, allocations: 5.438 kB / 0.5397 GB, free: 6.785 MB / 398.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.0001502/0.4824, allocations: 135.5 kB / 0.5398 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.4824, allocations: 16.78 kB / 0.5398 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.275e-05/0.4825, allocations: 27.38 kB / 0.5399 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.4825, allocations: 5.141 kB / 0.5399 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4825, allocations: 0 / 0.5399 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4825, allocations: 0 / 0.5399 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006709/0.4832, allocations: 0.5137 MB / 0.5404 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4832, allocations: 5.531 kB / 0.5404 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.894e-05/0.4833, allocations: 2.75 kB / 0.5404 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.4833, allocations: 5.328 kB / 0.5404 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.4833, allocations: 4.062 kB / 0.5404 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4833, allocations: 1.344 kB / 0.5404 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4833, allocations: 0 / 0.5404 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.4834, allocations: 100.4 kB / 0.5405 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.545e-05/0.4836, allocations: 102.2 kB / 0.5406 GB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.4836, allocations: 1.562 kB / 0.5406 GB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.4837, allocations: 9.625 kB / 0.5406 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.4837, allocations: 0 / 0.5406 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.4838, allocations: 1.094 kB / 0.5406 GB, free: 5.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002801/0.484, allocations: 224.4 kB / 0.5408 GB, free: 5.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4841, allocations: 0 / 0.5408 GB, free: 5.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.4843, allocations: 63.59 kB / 0.5409 GB, free: 5.719 MB / 398.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.000107/0.4844, allocations: 95.78 kB / 0.541 GB, free: 5.629 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002616/0.4847, allocations: 120.6 kB / 0.5411 GB, free: 5.574 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4847, allocations: 0 / 0.5411 GB, free: 5.574 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.332e-05/0.4847, allocations: 9.594 kB / 0.5411 GB, free: 5.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.4851, allocations: 30.73 kB / 0.5411 GB, free: 5.547 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006937/0.4858, allocations: 369.9 kB / 0.5415 GB, free: 5.273 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.4861, allocations: 0.7459 MB / 0.5422 GB, free: 4.543 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.905e-05/0.4862, allocations: 16.98 kB / 0.5422 GB, free: 4.539 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.218e-05/0.4863, allocations: 24.64 kB / 0.5422 GB, free: 4.527 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4863, allocations: 0 / 0.5422 GB, free: 4.527 MB / 398.1 MB Notification: Performance of Templates: time 0.005069/0.4914, allocations: 1.798 MB / 0.544 GB, free: 3.629 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile (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) 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) Reference file matches