Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.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.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00107/0.00107, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00123/0.00123, allocations: 204.7 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 227.4 MB / 246.9 MB, free: 10.47 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.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 72.17 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4716/0.4734, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004888/0.4783, allocations: 3.004 MB / 0.5339 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.4804, allocations: 0.7864 MB / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003218/0.4808, allocations: 5.75 kB / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.4812, allocations: 61 kB / 0.5348 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002982/0.4815, allocations: 97.19 kB / 0.5348 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004627/0.4819, allocations: 119.8 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007183/0.4827, allocations: 470.3 kB / 0.5354 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000494/0.4832, allocations: 151.2 kB / 0.5356 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003602/0.4835, allocations: 187.8 kB / 0.5357 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003914/0.4839, allocations: 216.5 kB / 0.5359 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.193e-05/0.484, allocations: 39.44 kB / 0.536 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.4841, allocations: 41.19 kB / 0.536 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.593e-05/0.4842, allocations: 86.45 kB / 0.5361 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002677/0.4845, allocations: 200.8 kB / 0.5363 GB, free: 9.508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006393/0.4852, allocations: 474.6 kB / 0.5367 GB, free: 9.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4852, allocations: 0 / 0.5367 GB, free: 9.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.037e-06/0.4852, allocations: 0.9688 kB / 0.5367 GB, free: 9.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.4852, allocations: 0 / 0.5367 GB, free: 9.156 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001797/0.487, allocations: 0.72 MB / 0.5374 GB, free: 8.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.291e-05/0.4871, allocations: 10.06 kB / 0.5375 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003663/0.4875, allocations: 63.39 kB / 0.5375 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005574/0.488, allocations: 294 kB / 0.5378 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.511e-05/0.4881, allocations: 28.88 kB / 0.5378 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-05/0.4882, allocations: 36.75 kB / 0.5379 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008632/0.4891, allocations: 347.9 kB / 0.5382 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.4891, allocations: 3.984 kB / 0.5382 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.432e-05/0.4891, allocations: 15.75 kB / 0.5382 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.298e-05/0.4892, allocations: 9.438 kB / 0.5382 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008363/0.49, allocations: 307.8 kB / 0.5385 GB, free: 7.828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002854/0.4929, allocations: 1.332 MB / 0.5398 GB, free: 6.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006059/0.4935, allocations: 284.7 kB / 0.5401 GB, free: 6.578 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003498/0.4939, allocations: 162.8 kB / 0.5402 GB, free: 6.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.977e-05/0.4939, allocations: 8.562 kB / 0.5402 GB, free: 6.492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.494, allocations: 40.3 kB / 0.5403 GB, free: 6.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 1.964e-06/0.494, allocations: 0 / 0.5403 GB, free: 6.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009978/0.495, allocations: 372.8 kB / 0.5406 GB, free: 6.262 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.495, allocations: 59.47 kB / 0.5407 GB, free: 6.195 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003432/0.4954, allocations: 267.8 kB / 0.541 GB, free: 6.012 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.4954, allocations: 32.11 kB / 0.541 GB, free: 5.977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.4956, allocations: 210 kB / 0.5412 GB, free: 5.785 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.4957, allocations: 121.2 kB / 0.5413 GB, free: 5.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.4959, allocations: 74.94 kB / 0.5414 GB, free: 5.625 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002518/0.4962, allocations: 337.6 kB / 0.5417 GB, free: 5.293 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002617/0.4964, allocations: 103.1 kB / 0.5418 GB, free: 5.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/0.4968, allocations: 174.4 kB / 0.542 GB, free: 5.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005654/0.4974, allocations: 293.5 kB / 0.5422 GB, free: 4.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4974, allocations: 0 / 0.5422 GB, free: 4.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007254/0.4981, allocations: 371.4 kB / 0.5426 GB, free: 4.738 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.4981, allocations: 5 kB / 0.5426 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.4981, allocations: 6.625 kB / 0.5426 GB, free: 4.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.4982, allocations: 7.812 kB / 0.5426 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004811/0.4987, allocations: 98.84 kB / 0.5427 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.4987, allocations: 7.359 kB / 0.5427 GB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/0.499, allocations: 45.02 kB / 0.5428 GB, free: 4.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-05/0.499, allocations: 17.95 kB / 0.5428 GB, free: 4.664 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 47 * 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.0001605/0.4992, allocations: 152 kB / 0.5429 GB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.48e-05/0.4993, allocations: 33.77 kB / 0.5429 GB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006883/0.4999, allocations: 326.7 kB / 0.5433 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.5, allocations: 4.031 kB / 0.5433 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.5, allocations: 0 / 0.5433 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.5, allocations: 5.578 kB / 0.5433 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006228/0.5006, allocations: 405.9 kB / 0.5437 GB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5006, allocations: 0 / 0.5437 GB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004276/0.5011, allocations: 85.16 kB / 0.5437 GB, free: 3.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.5011, allocations: 1.656 kB / 0.5437 GB, free: 3.918 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.5011, allocations: 5.125 kB / 0.5437 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.5011, allocations: 1.469 kB / 0.5437 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5011, allocations: 1.062 kB / 0.5437 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.5022, allocations: 0.5152 MB / 0.5442 GB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.5024, allocations: 136.6 kB / 0.5444 GB, free: 3.445 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.5024, allocations: 6.188 kB / 0.5444 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.5026, allocations: 9.312 kB / 0.5444 GB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.618e-05/0.5027, allocations: 20.97 kB / 0.5444 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.5028, allocations: 10.33 kB / 0.5444 GB, free: 3.422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002645/0.503, allocations: 187 kB / 0.5446 GB, free: 3.293 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5031, allocations: 4.062 kB / 0.5446 GB, free: 3.289 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004695/0.5035, allocations: 96.81 kB / 0.5447 GB, free: 3.258 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * 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.0001852/0.5037, allocations: 107.1 kB / 0.5448 GB, free: 3.145 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007508/0.5045, allocations: 275.9 kB / 0.5451 GB, free: 2.875 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.5045, allocations: 4 kB / 0.5451 GB, free: 2.871 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002762/0.5048, allocations: 140.7 kB / 0.5452 GB, free: 2.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.5052, allocations: 40.42 kB / 0.5452 GB, free: 2.695 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.5067, allocations: 0.7623 MB / 0.546 GB, free: 1.906 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.5071, allocations: 0.7837 MB / 0.5467 GB, free: 1.094 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001826/0.5073, allocations: 38.95 kB / 0.5468 GB, free: 1.055 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.628e-05/0.5074, allocations: 27.42 kB / 0.5468 GB, free: 1.027 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.5074, allocations: 0 / 0.5468 GB, free: 1.027 MB / 398.1 MB Notification: Performance of Templates: time 0.007208/0.5147, allocations: 2.703 MB / 0.5495 GB, free: 14.34 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches