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.001166/0.001166, allocations: 112.8 kB / 17.77 MB, free: 5.371 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.001133/0.001133, allocations: 180.9 kB / 18.7 MB, free: 4.453 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.434/1.434, allocations: 222.9 MB / 242.4 MB, free: 15.13 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.2388/0.2388, allocations: 44.19 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 59.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.466/0.4674, allocations: 60.83 MB / 0.5189 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004402/0.4718, allocations: 2.99 MB / 0.5218 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.4734, allocations: 0.7268 MB / 0.5225 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/0.4737, allocations: 5.469 kB / 0.5225 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.4739, allocations: 56.47 kB / 0.5226 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002366/0.4742, allocations: 109.2 kB / 0.5227 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.4745, allocations: 107.8 kB / 0.5228 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000528/0.4751, allocations: 472.1 kB / 0.5232 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002988/0.4754, allocations: 155.5 kB / 0.5234 GB, free: 484 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002561/0.4756, allocations: 185.7 kB / 0.5236 GB, free: 396 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003053/0.4759, allocations: 203.8 kB / 0.5238 GB, free: 296 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.172e-05/0.476, allocations: 39.56 kB / 0.5238 GB, free: 296 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.027e-05/0.4761, allocations: 38.53 kB / 0.5238 GB, free: 296 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.927e-05/0.4762, allocations: 94.7 kB / 0.5239 GB, free: 232 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.4764, allocations: 205.5 kB / 0.5241 GB, free: 104 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006225/0.477, allocations: 466.7 kB / 0.5246 GB, free: 15.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.477, allocations: 0 / 0.5246 GB, free: 15.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.178e-06/0.4771, allocations: 4 kB / 0.5246 GB, free: 15.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.4771, allocations: 4.938 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.001343/0.4784, allocations: 0.71 MB / 0.5253 GB, free: 15.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.4785, allocations: 8.781 kB / 0.5253 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.926e-05/0.4786, allocations: 46.31 kB / 0.5253 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004372/0.479, allocations: 301.9 kB / 0.5256 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.479, allocations: 28.5 kB / 0.5256 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-05/0.4791, allocations: 41.83 kB / 0.5257 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006604/0.4798, allocations: 347.1 kB / 0.526 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/0.4798, allocations: 0 / 0.526 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.4799, allocations: 16 kB / 0.526 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.4799, allocations: 9.031 kB / 0.526 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006399/0.4805, allocations: 306.2 kB / 0.5263 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002151/0.4827, allocations: 1.336 MB / 0.5276 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005054/0.4832, allocations: 278.7 kB / 0.5279 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002813/0.4835, allocations: 162.4 kB / 0.528 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.4836, allocations: 12.34 kB / 0.5281 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.4836, allocations: 36.22 kB / 0.5281 GB, free: 13.4 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 1.713e-06/0.4836, allocations: 1.531 kB / 0.5281 GB, free: 13.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008776/0.4845, allocations: 371.9 kB / 0.5284 GB, free: 13.22 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.4845, allocations: 63.33 kB / 0.5285 GB, free: 13.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003096/0.4849, allocations: 268.8 kB / 0.5288 GB, free: 12.96 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.4849, allocations: 30.98 kB / 0.5288 GB, free: 12.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.4851, allocations: 210.1 kB / 0.529 GB, free: 12.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.4852, allocations: 121.1 kB / 0.5291 GB, free: 12.63 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.4853, allocations: 70.61 kB / 0.5292 GB, free: 12.58 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.4855, allocations: 341.7 kB / 0.5295 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.4857, allocations: 102.7 kB / 0.5296 GB, free: 12.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.486, allocations: 174.2 kB / 0.5298 GB, free: 12.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/0.4866, allocations: 294.1 kB / 0.53 GB, free: 11.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4866, allocations: 1.5 kB / 0.53 GB, free: 11.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006785/0.4873, allocations: 365.7 kB / 0.5304 GB, free: 11.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.4873, allocations: 6.281 kB / 0.5304 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4873, allocations: 2 kB / 0.5304 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.4873, allocations: 7.609 kB / 0.5304 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004775/0.4878, allocations: 103 kB / 0.5305 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.4878, allocations: 3 kB / 0.5305 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.4881, allocations: 48.22 kB / 0.5306 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.4882, allocations: 18.41 kB / 0.5306 GB, free: 11.62 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.000149/0.4883, allocations: 152.6 kB / 0.5307 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.4884, allocations: 29.88 kB / 0.5307 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006735/0.4891, allocations: 325.6 kB / 0.5311 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.4891, allocations: 7.797 kB / 0.5311 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4891, allocations: 1.219 kB / 0.5311 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.4891, allocations: 0 / 0.5311 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005048/0.4896, allocations: 413.8 kB / 0.5315 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.4896, allocations: 5.281 kB / 0.5315 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003849/0.49, allocations: 88.06 kB / 0.5316 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.49, allocations: 1.406 kB / 0.5316 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.4901, allocations: 6.938 kB / 0.5316 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.4901, allocations: 1.281 kB / 0.5316 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4901, allocations: 0 / 0.5316 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008463/0.4909, allocations: 0.5206 MB / 0.5321 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.4911, allocations: 126.9 kB / 0.5322 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/0.4911, allocations: 7.062 kB / 0.5322 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.4913, allocations: 16.36 kB / 0.5322 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/0.4914, allocations: 25.5 kB / 0.5322 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.4914, allocations: 7.219 kB / 0.5322 GB, free: 10.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001921/0.4916, allocations: 190 kB / 0.5324 GB, free: 10.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4916, allocations: 4.062 kB / 0.5324 GB, free: 10.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003852/0.492, allocations: 99.09 kB / 0.5325 GB, free: 10.2 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.0001233/0.4922, allocations: 104.6 kB / 0.5326 GB, free: 10.1 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006184/0.4928, allocations: 271.5 kB / 0.5329 GB, free: 9.992 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4928, allocations: 448 / 0.5329 GB, free: 9.992 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002662/0.4931, allocations: 147.1 kB / 0.533 GB, free: 9.926 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.4934, allocations: 33.73 kB / 0.5331 GB, free: 9.902 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.4949, allocations: 0.7529 MB / 0.5338 GB, free: 9.387 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.4953, allocations: 0.7837 MB / 0.5346 GB, free: 8.645 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001858/0.4954, allocations: 42.66 kB / 0.5346 GB, free: 8.617 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.4956, allocations: 28.39 kB / 0.5346 GB, free: 8.605 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4956, allocations: 0 / 0.5346 GB, free: 8.605 MB / 398.1 MB Notification: Performance of Templates: time 0.007819/0.5034, allocations: 2.697 MB / 0.5373 GB, free: 7.277 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