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.001176/0.001176, allocations: 121.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001263/0.001263, allocations: 212.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1973/0.1973, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 75.86 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3002, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003876/0.3041, allocations: 2.997 MB / 0.5346 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.3055, allocations: 0.7896 MB / 0.5353 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.3057, allocations: 9.438 kB / 0.5354 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.3058, allocations: 58.25 kB / 0.5354 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.3061, allocations: 100.7 kB / 0.5355 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.3064, allocations: 124.1 kB / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004144/0.3068, allocations: 466 kB / 0.5361 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002513/0.3071, allocations: 156.1 kB / 0.5362 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002661/0.3073, allocations: 180.6 kB / 0.5364 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.3076, allocations: 212.2 kB / 0.5366 GB, free: 9.727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.51e-05/0.3076, allocations: 39.56 kB / 0.5366 GB, free: 9.727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.721e-05/0.3077, allocations: 44.31 kB / 0.5367 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.747e-05/0.3078, allocations: 93.81 kB / 0.5368 GB, free: 9.641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.308, allocations: 197.9 kB / 0.537 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004451/0.3084, allocations: 475.8 kB / 0.5374 GB, free: 9.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3085, allocations: 1.125 kB / 0.5374 GB, free: 9.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3085, allocations: 0 / 0.5374 GB, free: 9.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.3085, allocations: 0 / 0.5374 GB, free: 9.148 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.001249/0.3097, allocations: 0.7047 MB / 0.5381 GB, free: 8.551 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3098, allocations: 11 kB / 0.5381 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002518/0.31, allocations: 54.89 kB / 0.5382 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.3104, allocations: 298.7 kB / 0.5384 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.3105, allocations: 31.59 kB / 0.5385 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.275e-05/0.3106, allocations: 37.16 kB / 0.5385 GB, free: 8.203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005972/0.3112, allocations: 343.6 kB / 0.5388 GB, free: 8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.3112, allocations: 1.031 kB / 0.5388 GB, free: 8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.3112, allocations: 15.03 kB / 0.5389 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.3112, allocations: 9.312 kB / 0.5389 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005767/0.3118, allocations: 300.6 kB / 0.5391 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00195/0.3138, allocations: 1.343 MB / 0.5405 GB, free: 6.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004677/0.3143, allocations: 276.1 kB / 0.5407 GB, free: 6.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/0.3145, allocations: 166.7 kB / 0.5409 GB, free: 6.512 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.3146, allocations: 3.344 kB / 0.5409 GB, free: 6.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.3146, allocations: 37.06 kB / 0.5409 GB, free: 6.469 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 1.442e-06/0.3146, allocations: 0 / 0.5409 GB, free: 6.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007992/0.3154, allocations: 376.9 kB / 0.5413 GB, free: 6.281 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.3155, allocations: 59.81 kB / 0.5413 GB, free: 6.215 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.3157, allocations: 263.9 kB / 0.5416 GB, free: 6.035 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.3158, allocations: 31.67 kB / 0.5416 GB, free: 6 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.3159, allocations: 209.9 kB / 0.5418 GB, free: 5.809 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.019e-05/0.316, allocations: 119.5 kB / 0.5419 GB, free: 5.703 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.3161, allocations: 72.19 kB / 0.542 GB, free: 5.652 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3162, allocations: 340.5 kB / 0.5423 GB, free: 5.316 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.3164, allocations: 103.3 kB / 0.5424 GB, free: 5.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.3167, allocations: 173.9 kB / 0.5426 GB, free: 5.141 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004685/0.3172, allocations: 290.6 kB / 0.5429 GB, free: 4.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3172, allocations: 0 / 0.5429 GB, free: 4.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006144/0.3178, allocations: 371.1 kB / 0.5432 GB, free: 4.766 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.3178, allocations: 5.438 kB / 0.5432 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3178, allocations: 1.781 kB / 0.5432 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3179, allocations: 4.906 kB / 0.5432 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004501/0.3183, allocations: 106.8 kB / 0.5433 GB, free: 4.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.3183, allocations: 7.062 kB / 0.5433 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.3186, allocations: 43.77 kB / 0.5434 GB, free: 4.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.3186, allocations: 10.81 kB / 0.5434 GB, free: 4.699 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.0001429/0.3188, allocations: 159.6 kB / 0.5435 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.782e-05/0.3188, allocations: 33.95 kB / 0.5436 GB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006252/0.3195, allocations: 327.1 kB / 0.5439 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.3195, allocations: 3.406 kB / 0.5439 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3195, allocations: 1.156 kB / 0.5439 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3195, allocations: 0 / 0.5439 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004419/0.32, allocations: 406.3 kB / 0.5443 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.32, allocations: 0 / 0.5443 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003847/0.3204, allocations: 89.34 kB / 0.5444 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3204, allocations: 1.125 kB / 0.5444 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.3204, allocations: 6.031 kB / 0.5444 GB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.3204, allocations: 5.172 kB / 0.5444 GB, free: 3.938 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3204, allocations: 1.219 kB / 0.5444 GB, free: 3.938 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008096/0.3212, allocations: 0.511 MB / 0.5449 GB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.3214, allocations: 124.3 kB / 0.545 GB, free: 3.484 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.3214, allocations: 6.188 kB / 0.545 GB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.3216, allocations: 17.36 kB / 0.545 GB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.3217, allocations: 20.75 kB / 0.545 GB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.3217, allocations: 10.53 kB / 0.5451 GB, free: 3.453 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001905/0.3219, allocations: 191 kB / 0.5452 GB, free: 3.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3219, allocations: 0 / 0.5452 GB, free: 3.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000376/0.3223, allocations: 98.59 kB / 0.5453 GB, free: 3.293 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.0001196/0.3224, allocations: 105 kB / 0.5454 GB, free: 3.195 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000567/0.323, allocations: 275.5 kB / 0.5457 GB, free: 2.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.323, allocations: 0 / 0.5457 GB, free: 2.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.3232, allocations: 144.3 kB / 0.5458 GB, free: 2.789 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.3236, allocations: 40.81 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.001301/0.3249, allocations: 0.7726 MB / 0.5466 GB, free: 1.945 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.3252, allocations: 0.7837 MB / 0.5474 GB, free: 1.133 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.3253, allocations: 35.42 kB / 0.5474 GB, free: 1.098 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3253, allocations: 0 / 0.5474 GB, free: 1.098 MB / 398.1 MB Notification: Performance of Templates: time 0.005412/0.3308, allocations: 3.917 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