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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009445/0.0009446, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 221.3 MB / 236 MB, free: 2.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007811/0.0007812, allocations: 79.92 kB / 287 MB, free: 184 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1734/0.1734, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.506e-05, allocations: 0 / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1208, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3543/0.4752, allocations: 91.82 MB / 0.5914 GB, free: 13.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.4755, allocations: 75.95 kB / 0.5914 GB, free: 13.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01545/0.491, allocations: 5.786 MB / 0.5971 GB, free: 7.625 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.491, allocations: 0 / 0.5971 GB, free: 7.625 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.801e-05/0.4911, allocations: 11.94 kB / 0.5971 GB, free: 7.613 MB / 410.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.0009802/0.492, allocations: 0.5963 MB / 0.5977 GB, free: 6.973 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.4921, allocations: 12.03 kB / 0.5977 GB, free: 6.961 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.003e-05/0.4922, allocations: 44.81 kB / 0.5977 GB, free: 6.918 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.4925, allocations: 278.4 kB / 0.598 GB, free: 6.605 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.4926, allocations: 28.78 kB / 0.598 GB, free: 6.578 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.217e-05/0.4927, allocations: 47.91 kB / 0.5981 GB, free: 6.531 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000532/0.4932, allocations: 311.7 kB / 0.5984 GB, free: 6.219 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.4932, allocations: 4 kB / 0.5984 GB, free: 6.215 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.4933, allocations: 16 kB / 0.5984 GB, free: 6.199 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.4933, allocations: 8 kB / 0.5984 GB, free: 6.191 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004592/0.4938, allocations: 271 kB / 0.5987 GB, free: 5.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002069/0.4958, allocations: 1.348 MB / 0.6 GB, free: 4.484 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004312/0.4963, allocations: 259 kB / 0.6002 GB, free: 4.223 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.4965, allocations: 149.4 kB / 0.6004 GB, free: 4.074 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.4965, allocations: 4.281 kB / 0.6004 GB, free: 4.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.4966, allocations: 34.83 kB / 0.6004 GB, free: 4.027 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 4.579e-06/0.4966, allocations: 3.984 kB / 0.6004 GB, free: 4.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004963/0.4971, allocations: 259.4 kB / 0.6007 GB, free: 3.766 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.4971, allocations: 63.34 kB / 0.6007 GB, free: 3.691 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.4974, allocations: 231.2 kB / 0.6009 GB, free: 3.461 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.4974, allocations: 29.7 kB / 0.601 GB, free: 3.426 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.4975, allocations: 207.9 kB / 0.6012 GB, free: 3.219 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.396e-05/0.4976, allocations: 114.3 kB / 0.6013 GB, free: 3.105 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.482e-05/0.4976, allocations: 4 kB / 0.6013 GB, free: 3.102 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.4977, allocations: 342.8 kB / 0.6016 GB, free: 2.758 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.4979, allocations: 88.88 kB / 0.6017 GB, free: 2.668 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.4981, allocations: 159.5 kB / 0.6018 GB, free: 2.484 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.4983, allocations: 109.6 kB / 0.6019 GB, free: 2.379 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4983, allocations: 0 / 0.6019 GB, free: 2.379 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004962/0.4988, allocations: 334.9 kB / 0.6023 GB, free: 2.047 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.4989, allocations: 4 kB / 0.6023 GB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.4989, allocations: 4 kB / 0.6023 GB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.4989, allocations: 4 kB / 0.6023 GB, free: 2.035 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004858/0.4994, allocations: 116 kB / 0.6024 GB, free: 1.922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.4994, allocations: 4 kB / 0.6024 GB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.4997, allocations: 47.61 kB / 0.6024 GB, free: 1.871 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.4997, allocations: 8 kB / 0.6024 GB, free: 1.863 MB / 410.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.13e-05/0.4998, allocations: 128.9 kB / 0.6026 GB, free: 1.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.181e-05/0.4999, allocations: 31.58 kB / 0.6026 GB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005007/0.5004, allocations: 304.3 kB / 0.6029 GB, free: 1.391 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.299e-06/0.5004, allocations: 4 kB / 0.6029 GB, free: 1.387 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5004, allocations: 3.938 kB / 0.6029 GB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.5004, allocations: 0 / 0.6029 GB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004172/0.5008, allocations: 409.1 kB / 0.6033 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5008, allocations: 0 / 0.6033 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004037/0.5012, allocations: 87.88 kB / 0.6034 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.5013, allocations: 3.953 kB / 0.6034 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.5013, allocations: 12 kB / 0.6034 GB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.5013, allocations: 4 kB / 0.6034 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5013, allocations: 0 / 0.6034 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006125/0.5019, allocations: 478.9 kB / 0.6038 GB, free: 352 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.5021, allocations: 128.6 kB / 0.604 GB, free: 204 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.5021, allocations: 15.94 kB / 0.604 GB, free: 188 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.5023, allocations: 12 kB / 0.604 GB, free: 176 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.871e-05/0.5024, allocations: 24.03 kB / 0.604 GB, free: 152 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.5025, allocations: 15.98 kB / 0.604 GB, free: 136 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001729/0.5026, allocations: 183.1 kB / 0.6042 GB, free: 15.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.583e-06/0.5026, allocations: 0 / 0.6042 GB, free: 15.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003291/0.503, allocations: 95.78 kB / 0.6043 GB, free: 15.86 MB / 426.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000121/0.5031, allocations: 99.25 kB / 0.6044 GB, free: 15.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003966/0.5035, allocations: 260.1 kB / 0.6046 GB, free: 15.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5035, allocations: 4.062 kB / 0.6046 GB, free: 15.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.5037, allocations: 115.9 kB / 0.6048 GB, free: 15.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.5039, allocations: 30.53 kB / 0.6048 GB, free: 15.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.505, allocations: 0.5368 MB / 0.6053 GB, free: 14.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.5053, allocations: 0.7913 MB / 0.6061 GB, free: 13.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000199/0.5055, allocations: 42.89 kB / 0.6061 GB, free: 13.94 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.163e-05/0.5056, allocations: 23.44 kB / 0.6061 GB, free: 13.91 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5056, allocations: 0 / 0.6061 GB, free: 13.91 MB / 426.7 MB Notification: Performance of Templates: time 0.00506/0.5107, allocations: 2.371 MB / 0.6085 GB, free: 11.57 MB / 426.7 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","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches