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.001554/0.001554, allocations: 114 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001887/0.001888, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2153/0.2153, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 83.84 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3627, allocations: 62.43 MB / 0.5316 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004522/0.3673, allocations: 3.004 MB / 0.5346 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.3691, allocations: 0.7897 MB / 0.5354 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.3693, allocations: 5.594 kB / 0.5354 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002023/0.3695, allocations: 57.12 kB / 0.5354 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.3697, allocations: 101.9 kB / 0.5355 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.3701, allocations: 115.1 kB / 0.5356 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005312/0.3706, allocations: 474.2 kB / 0.5361 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002857/0.3709, allocations: 156.4 kB / 0.5362 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003092/0.3712, allocations: 184.1 kB / 0.5364 GB, free: 9.887 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002626/0.3715, allocations: 215.9 kB / 0.5366 GB, free: 9.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.932e-05/0.3716, allocations: 39 kB / 0.5366 GB, free: 9.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.3717, allocations: 45.36 kB / 0.5367 GB, free: 9.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.972e-05/0.3718, allocations: 82.47 kB / 0.5368 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.3719, allocations: 201.8 kB / 0.537 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005072/0.3724, allocations: 476 kB / 0.5374 GB, free: 9.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3725, allocations: 3.938 kB / 0.5374 GB, free: 9.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3725, allocations: 0 / 0.5374 GB, free: 9.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.3725, allocations: 1.219 kB / 0.5374 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.001406/0.3739, allocations: 0.7078 MB / 0.5381 GB, free: 8.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.3739, allocations: 10.81 kB / 0.5381 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002698/0.3742, allocations: 55.11 kB / 0.5382 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004405/0.3747, allocations: 301.8 kB / 0.5385 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.3747, allocations: 29.06 kB / 0.5385 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.895e-05/0.3748, allocations: 36.78 kB / 0.5385 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006532/0.3754, allocations: 343.8 kB / 0.5388 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.3755, allocations: 0 / 0.5388 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/0.3755, allocations: 15.47 kB / 0.5389 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.3755, allocations: 8.969 kB / 0.5389 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000631/0.3762, allocations: 312.3 kB / 0.5392 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002232/0.3784, allocations: 1.329 MB / 0.5405 GB, free: 6.746 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005142/0.3789, allocations: 283.8 kB / 0.5407 GB, free: 6.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002911/0.3792, allocations: 155.4 kB / 0.5409 GB, free: 6.523 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.3793, allocations: 10.92 kB / 0.5409 GB, free: 6.516 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.3793, allocations: 37.12 kB / 0.5409 GB, free: 6.473 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 1.874e-06/0.3793, allocations: 0 / 0.5409 GB, free: 6.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008727/0.3802, allocations: 376.8 kB / 0.5413 GB, free: 6.285 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.3803, allocations: 63.38 kB / 0.5413 GB, free: 6.215 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.3805, allocations: 260.2 kB / 0.5416 GB, free: 6.039 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.3806, allocations: 34.98 kB / 0.5416 GB, free: 6 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.3807, allocations: 202.1 kB / 0.5418 GB, free: 5.816 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.654e-05/0.3808, allocations: 121.2 kB / 0.5419 GB, free: 5.711 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.381, allocations: 75 kB / 0.542 GB, free: 5.656 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3811, allocations: 336.4 kB / 0.5423 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.3814, allocations: 103.8 kB / 0.5424 GB, free: 5.277 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.3817, allocations: 174.4 kB / 0.5426 GB, free: 5.148 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005302/0.3822, allocations: 289.7 kB / 0.5429 GB, free: 4.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3822, allocations: 0 / 0.5429 GB, free: 4.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006699/0.3829, allocations: 371.3 kB / 0.5432 GB, free: 4.773 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.3829, allocations: 5.875 kB / 0.5432 GB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3829, allocations: 1.344 kB / 0.5432 GB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.383, allocations: 7.938 kB / 0.5432 GB, free: 4.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004861/0.3835, allocations: 102.7 kB / 0.5433 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.3835, allocations: 8.016 kB / 0.5433 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.3838, allocations: 36.91 kB / 0.5434 GB, free: 4.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.3838, allocations: 17.7 kB / 0.5434 GB, free: 4.707 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.0001699/0.384, allocations: 163.8 kB / 0.5436 GB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.3841, allocations: 29.81 kB / 0.5436 GB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000687/0.3847, allocations: 323 kB / 0.5439 GB, free: 4.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.3848, allocations: 3.125 kB / 0.5439 GB, free: 4.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3848, allocations: 1.031 kB / 0.5439 GB, free: 4.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3848, allocations: 7.922 kB / 0.5439 GB, free: 4.332 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004818/0.3853, allocations: 406.6 kB / 0.5443 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3853, allocations: 0 / 0.5443 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/0.3857, allocations: 81.47 kB / 0.5444 GB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3857, allocations: 1.406 kB / 0.5444 GB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.3857, allocations: 9.75 kB / 0.5444 GB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.3857, allocations: 1.312 kB / 0.5444 GB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3857, allocations: 0 / 0.5444 GB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008893/0.3866, allocations: 0.5165 MB / 0.5449 GB, free: 3.621 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.3868, allocations: 123.4 kB / 0.545 GB, free: 3.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.694e-05/0.3868, allocations: 6.375 kB / 0.545 GB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.3871, allocations: 9.469 kB / 0.545 GB, free: 3.484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.394e-05/0.3871, allocations: 21.34 kB / 0.545 GB, free: 3.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.3872, allocations: 13.73 kB / 0.5451 GB, free: 3.465 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001972/0.3874, allocations: 191 kB / 0.5452 GB, free: 3.332 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3874, allocations: 64 / 0.5452 GB, free: 3.332 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004034/0.3878, allocations: 98.84 kB / 0.5453 GB, free: 3.305 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.0001295/0.3879, allocations: 105.7 kB / 0.5454 GB, free: 3.195 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005816/0.3885, allocations: 275.9 kB / 0.5457 GB, free: 2.926 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3885, allocations: 0 / 0.5457 GB, free: 2.926 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000249/0.3888, allocations: 144.7 kB / 0.5458 GB, free: 2.785 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.3892, allocations: 36.41 kB / 0.5459 GB, free: 2.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.3907, allocations: 0.7688 MB / 0.5466 GB, free: 1.949 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.391, allocations: 0.7837 MB / 0.5474 GB, free: 1.137 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.3912, allocations: 35.42 kB / 0.5474 GB, free: 1.102 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3912, allocations: 0 / 0.5474 GB, free: 1.102 MB / 398.1 MB Notification: Performance of Templates: time 0.006433/0.3976, allocations: 3.922 MB / 0.5512 GB, free: 13.2 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches