Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 113.8 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 183.1 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2155/0.2155, allocations: 44.19 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 59.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5056/0.5078, allocations: 60.82 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004077/0.512, allocations: 3.003 MB / 0.5218 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.5133, allocations: 0.7239 MB / 0.5225 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.5135, allocations: 8.281 kB / 0.5225 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001963/0.5137, allocations: 56.27 kB / 0.5226 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.514, allocations: 106.1 kB / 0.5227 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.5143, allocations: 111.8 kB / 0.5228 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000501/0.5148, allocations: 476.1 kB / 0.5233 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.5151, allocations: 160.4 kB / 0.5234 GB, free: 476 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000265/0.5154, allocations: 180.7 kB / 0.5236 GB, free: 392 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.5156, allocations: 205.1 kB / 0.5238 GB, free: 292 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.765e-05/0.5157, allocations: 39.19 kB / 0.5238 GB, free: 292 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.086e-05/0.5158, allocations: 39.94 kB / 0.5239 GB, free: 292 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.035e-05/0.5159, allocations: 88.56 kB / 0.5239 GB, free: 232 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.5161, allocations: 208.9 kB / 0.5241 GB, free: 100 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006058/0.5167, allocations: 461.6 kB / 0.5246 GB, free: 15.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5167, allocations: 0 / 0.5246 GB, free: 15.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.486e-05/0.5168, allocations: 0 / 0.5246 GB, free: 15.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.5168, allocations: 9.531 kB / 0.5246 GB, free: 15.91 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.001598/0.5184, allocations: 0.7003 MB / 0.5253 GB, free: 15.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.5185, allocations: 9.469 kB / 0.5253 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.698e-05/0.5186, allocations: 45.19 kB / 0.5253 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/0.5191, allocations: 300.3 kB / 0.5256 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.5191, allocations: 28.16 kB / 0.5256 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.667e-05/0.5192, allocations: 41.48 kB / 0.5257 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007186/0.5199, allocations: 351.3 kB / 0.526 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.5199, allocations: 0 / 0.526 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.924e-05/0.52, allocations: 15.03 kB / 0.526 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.52, allocations: 8.812 kB / 0.526 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006661/0.5207, allocations: 307.9 kB / 0.5263 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/0.523, allocations: 1.321 MB / 0.5276 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005539/0.5235, allocations: 278.5 kB / 0.5279 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/0.5239, allocations: 158.8 kB / 0.528 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.5239, allocations: 16.03 kB / 0.5281 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.5239, allocations: 37.31 kB / 0.5281 GB, free: 13.42 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 1.873e-06/0.5239, allocations: 0 / 0.5281 GB, free: 13.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009239/0.5249, allocations: 377.4 kB / 0.5284 GB, free: 13.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.5249, allocations: 58 kB / 0.5285 GB, free: 13.17 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.5253, allocations: 268.2 kB / 0.5288 GB, free: 12.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.5253, allocations: 36.3 kB / 0.5288 GB, free: 12.94 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.5255, allocations: 205.7 kB / 0.529 GB, free: 12.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.5256, allocations: 115.6 kB / 0.5291 GB, free: 12.65 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.5257, allocations: 71.53 kB / 0.5292 GB, free: 12.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.5259, allocations: 341.2 kB / 0.5295 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.5261, allocations: 99.55 kB / 0.5296 GB, free: 12.22 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/0.5265, allocations: 174.7 kB / 0.5298 GB, free: 12.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005363/0.527, allocations: 292.5 kB / 0.53 GB, free: 11.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.527, allocations: 1.125 kB / 0.53 GB, free: 11.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006936/0.5277, allocations: 366.5 kB / 0.5304 GB, free: 11.72 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.5277, allocations: 6 kB / 0.5304 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.5278, allocations: 1.344 kB / 0.5304 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.5278, allocations: 8.297 kB / 0.5304 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/0.5283, allocations: 103.5 kB / 0.5305 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.5283, allocations: 2.781 kB / 0.5305 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.5286, allocations: 44.83 kB / 0.5305 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.5286, allocations: 14.34 kB / 0.5306 GB, free: 11.65 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.0001713/0.5288, allocations: 160.1 kB / 0.5307 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.386e-05/0.5289, allocations: 29 kB / 0.5307 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006809/0.5296, allocations: 326.2 kB / 0.531 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.5296, allocations: 4.094 kB / 0.5311 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5296, allocations: 0 / 0.5311 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.5296, allocations: 1.344 kB / 0.5311 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005244/0.5301, allocations: 409.2 kB / 0.5314 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5302, allocations: 9.562 kB / 0.5315 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004184/0.5306, allocations: 79.58 kB / 0.5315 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.5306, allocations: 2.938 kB / 0.5315 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.5306, allocations: 9.141 kB / 0.5315 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.5306, allocations: 1.594 kB / 0.5315 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5306, allocations: 0 / 0.5315 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009793/0.5316, allocations: 0.52 MB / 0.532 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.5318, allocations: 128.1 kB / 0.5322 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.5318, allocations: 5.25 kB / 0.5322 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.532, allocations: 13.36 kB / 0.5322 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.427e-05/0.5321, allocations: 21.34 kB / 0.5322 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.5321, allocations: 7.438 kB / 0.5322 GB, free: 10.4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001928/0.5323, allocations: 194.2 kB / 0.5324 GB, free: 10.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5324, allocations: 64 / 0.5324 GB, free: 10.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003953/0.5328, allocations: 102.1 kB / 0.5325 GB, free: 10.24 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.000128/0.5329, allocations: 101.8 kB / 0.5326 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006851/0.5336, allocations: 271.2 kB / 0.5329 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5336, allocations: 0 / 0.5329 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.5339, allocations: 149.7 kB / 0.533 GB, free: 9.969 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.5342, allocations: 30.91 kB / 0.533 GB, free: 9.949 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.5357, allocations: 0.744 MB / 0.5338 GB, free: 9.441 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.5362, allocations: 0.7842 MB / 0.5345 GB, free: 8.699 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000185/0.5363, allocations: 38.42 kB / 0.5346 GB, free: 8.676 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.5365, allocations: 24.28 kB / 0.5346 GB, free: 8.668 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5365, allocations: 0 / 0.5346 GB, free: 8.668 MB / 398.1 MB Notification: Performance of Templates: time 0.007984/0.5445, allocations: 2.7 MB / 0.5372 GB, free: 7.332 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches