Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009564/0.0009567, allocations: 191.5 kB / 17.43 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 229.5 MB / 247.7 MB, free: 6.301 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007479/0.0007479, allocations: 86.92 kB / 299.8 MB, free: 5.375 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3203/0.3203, allocations: 45 MB / 397 MB, free: 31.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002594/0.0002595, allocations: 4 kB / 470.8 MB, free: 7.129 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.317, allocations: 63.1 MB / 0.5214 GB, free: 38.49 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.002572/0.3196, allocations: 2.57 MB / 0.5239 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.3208, allocations: 0.9704 MB / 0.5248 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.3209, allocations: 9.156 kB / 0.5248 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.3211, allocations: 37.72 kB / 0.5249 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.3213, allocations: 90.83 kB / 0.525 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.3215, allocations: 101.9 kB / 0.5251 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000307/0.3218, allocations: 442.1 kB / 0.5255 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002215/0.322, allocations: 125.7 kB / 0.5256 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.3223, allocations: 169.6 kB / 0.5258 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.3225, allocations: 184.8 kB / 0.5259 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.12e-05/0.3225, allocations: 19.75 kB / 0.526 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.06e-05/0.3226, allocations: 25.03 kB / 0.526 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.914e-05/0.3227, allocations: 64.17 kB / 0.526 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.3228, allocations: 206.7 kB / 0.5262 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003153/0.3231, allocations: 434.6 kB / 0.5267 GB, free: 34.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3231, allocations: 2.625 kB / 0.5267 GB, free: 34.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3232, allocations: 0 / 0.5267 GB, free: 34.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.3232, allocations: 0 / 0.5267 GB, free: 34.95 MB / 378.7 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.001059/0.3242, allocations: 0.6473 MB / 0.5273 GB, free: 34.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3243, allocations: 8.625 kB / 0.5273 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002198/0.3245, allocations: 58.94 kB / 0.5274 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.3248, allocations: 290.8 kB / 0.5276 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.3248, allocations: 31.81 kB / 0.5277 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.668e-05/0.3249, allocations: 42.83 kB / 0.5277 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005602/0.3255, allocations: 345.2 kB / 0.528 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.3255, allocations: 0 / 0.528 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.3255, allocations: 15.06 kB / 0.5281 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.3255, allocations: 8.5 kB / 0.5281 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005377/0.3261, allocations: 317.9 kB / 0.5284 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/0.3279, allocations: 1.336 MB / 0.5297 GB, free: 32.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004446/0.3284, allocations: 280.6 kB / 0.5299 GB, free: 32.87 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/0.3287, allocations: 161.3 kB / 0.5301 GB, free: 32.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.3287, allocations: 10 kB / 0.5301 GB, free: 32.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.3287, allocations: 37.94 kB / 0.5301 GB, free: 32.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.513e-06/0.3287, allocations: 0 / 0.5301 GB, free: 32.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007876/0.3295, allocations: 390.9 kB / 0.5305 GB, free: 32.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.3296, allocations: 61.16 kB / 0.5306 GB, free: 32.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.3298, allocations: 272.5 kB / 0.5308 GB, free: 32.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.3298, allocations: 32.3 kB / 0.5309 GB, free: 32.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.625e-05/0.3299, allocations: 201 kB / 0.531 GB, free: 32.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.787e-05/0.33, allocations: 121.2 kB / 0.5312 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.653e-05/0.33, allocations: 8 kB / 0.5312 GB, free: 32.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.602e-05/0.3301, allocations: 340.2 kB / 0.5315 GB, free: 31.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.3303, allocations: 104.5 kB / 0.5316 GB, free: 31.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.3306, allocations: 175.5 kB / 0.5318 GB, free: 31.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/0.331, allocations: 303.3 kB / 0.5321 GB, free: 31.42 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.331, allocations: 3.062 kB / 0.5321 GB, free: 31.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005542/0.3316, allocations: 372.3 kB / 0.5324 GB, free: 31.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3316, allocations: 9.062 kB / 0.5324 GB, free: 31.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.3316, allocations: 6.875 kB / 0.5324 GB, free: 31.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3316, allocations: 2.875 kB / 0.5324 GB, free: 31.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004434/0.3321, allocations: 106 kB / 0.5325 GB, free: 31.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.3321, allocations: 2.531 kB / 0.5325 GB, free: 31.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.3324, allocations: 50.81 kB / 0.5326 GB, free: 31.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.3324, allocations: 17.97 kB / 0.5326 GB, free: 31.21 MB / 378.7 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.0001119/0.3325, allocations: 155.3 kB / 0.5327 GB, free: 31.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.3326, allocations: 29.72 kB / 0.5328 GB, free: 31.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005456/0.3331, allocations: 342.7 kB / 0.5331 GB, free: 30.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.3331, allocations: 4.531 kB / 0.5331 GB, free: 30.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3332, allocations: 0 / 0.5331 GB, free: 30.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3332, allocations: 3.609 kB / 0.5331 GB, free: 30.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.3335, allocations: 406.1 kB / 0.5335 GB, free: 30.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3335, allocations: 3.938 kB / 0.5335 GB, free: 30.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/0.3339, allocations: 88.27 kB / 0.5336 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3339, allocations: 2.938 kB / 0.5336 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.334, allocations: 4 kB / 0.5336 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.334, allocations: 10.23 kB / 0.5336 GB, free: 30.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.334, allocations: 0 / 0.5336 GB, free: 30.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007146/0.3347, allocations: 0.5235 MB / 0.5341 GB, free: 30.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.88e-05/0.3348, allocations: 127.8 kB / 0.5342 GB, free: 30.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.3348, allocations: 11.98 kB / 0.5342 GB, free: 30.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.3351, allocations: 15.11 kB / 0.5343 GB, free: 30.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/0.3351, allocations: 20.44 kB / 0.5343 GB, free: 30.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.3351, allocations: 9.25 kB / 0.5343 GB, free: 30.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001343/0.3353, allocations: 188.8 kB / 0.5345 GB, free: 30.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3353, allocations: 4.062 kB / 0.5345 GB, free: 30.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003201/0.3356, allocations: 98.56 kB / 0.5346 GB, free: 30.01 MB / 378.7 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.0001038/0.3357, allocations: 108.2 kB / 0.5347 GB, free: 29.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005045/0.3362, allocations: 286.7 kB / 0.5349 GB, free: 29.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3363, allocations: 3.938 kB / 0.5349 GB, free: 29.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.3365, allocations: 145.1 kB / 0.5351 GB, free: 29.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.3368, allocations: 34.28 kB / 0.5351 GB, free: 29.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.338, allocations: 0.9551 MB / 0.536 GB, free: 29.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.3382, allocations: 0.7838 MB / 0.5368 GB, free: 28.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001977/0.3385, allocations: 31.44 kB / 0.5368 GB, free: 28.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.3386, allocations: 33.42 kB / 0.5369 GB, free: 28.43 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3386, allocations: 4 kB / 0.5369 GB, free: 28.43 MB / 378.7 MB Notification: Performance of Templates: time 0.006049/0.3446, allocations: 2.443 MB / 0.5393 GB, free: 28.23 MB / 378.7 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","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches