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.001495/0.001495, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 221.5 MB / 230.7 MB, free: 7.512 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.0008668/0.0008669, allocations: 84.44 kB / 281.6 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2/0.2, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.917e-05/1.909e-05, allocations: 224 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1322, allocations: 61.92 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3907/0.5229, allocations: 91.16 MB / 0.5837 GB, free: 5.352 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001884/0.5231, allocations: 79.95 kB / 0.5838 GB, free: 5.273 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01546/0.5386, allocations: 5.73 MB / 0.5894 GB, free: 15.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.5387, allocations: 3.984 kB / 0.5894 GB, free: 15.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.03e-05/0.5387, allocations: 12 kB / 0.5894 GB, free: 15.51 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.001014/0.5397, allocations: 0.5922 MB / 0.59 GB, free: 14.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.5398, allocations: 12.03 kB / 0.59 GB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.633e-05/0.5399, allocations: 45 kB / 0.59 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.5403, allocations: 278.2 kB / 0.5903 GB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.5403, allocations: 17.12 kB / 0.5903 GB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.335e-05/0.5404, allocations: 20 kB / 0.5903 GB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004941/0.5409, allocations: 253.5 kB / 0.5906 GB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004959/0.5414, allocations: 266.2 kB / 0.5908 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.5414, allocations: 6.859 kB / 0.5908 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.5414, allocations: 0 / 0.5908 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.5414, allocations: 8 kB / 0.5908 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/0.5436, allocations: 1.265 MB / 0.5921 GB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003583/0.544, allocations: 236.3 kB / 0.5923 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.5442, allocations: 145.3 kB / 0.5924 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.5442, allocations: 8.219 kB / 0.5924 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.5442, allocations: 30.84 kB / 0.5925 GB, free: 12.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.573e-06/0.5442, allocations: 7.938 kB / 0.5925 GB, free: 12.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004477/0.5447, allocations: 227.8 kB / 0.5927 GB, free: 11.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.5447, allocations: 55.41 kB / 0.5927 GB, free: 11.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.545, allocations: 200.4 kB / 0.5929 GB, free: 11.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.545, allocations: 25.7 kB / 0.593 GB, free: 11.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.5451, allocations: 208 kB / 0.5932 GB, free: 11.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.241e-05/0.5452, allocations: 114.3 kB / 0.5933 GB, free: 11.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.527e-05/0.5453, allocations: 0 / 0.5933 GB, free: 11.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.5454, allocations: 338.8 kB / 0.5936 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.5456, allocations: 76.88 kB / 0.5937 GB, free: 10.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.5458, allocations: 154.6 kB / 0.5938 GB, free: 10.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.546, allocations: 97.55 kB / 0.5939 GB, free: 10.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.546, allocations: 0 / 0.5939 GB, free: 10.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004308/0.5464, allocations: 299.1 kB / 0.5942 GB, free: 10.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.5464, allocations: 11.95 kB / 0.5942 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.5465, allocations: 0 / 0.5942 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.5465, allocations: 4 kB / 0.5942 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/0.547, allocations: 107.8 kB / 0.5943 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.547, allocations: 0 / 0.5943 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.5472, allocations: 39.89 kB / 0.5943 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.5473, allocations: 15.98 kB / 0.5944 GB, free: 10.15 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.09e-05/0.5474, allocations: 108.9 kB / 0.5945 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.162e-05/0.5474, allocations: 27.62 kB / 0.5945 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004568/0.5479, allocations: 276.6 kB / 0.5948 GB, free: 9.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.5479, allocations: 4 kB / 0.5948 GB, free: 9.727 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5479, allocations: 0 / 0.5948 GB, free: 9.727 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.5479, allocations: 7.984 kB / 0.5948 GB, free: 9.719 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003904/0.5483, allocations: 337.8 kB / 0.5951 GB, free: 9.352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5483, allocations: 3.938 kB / 0.5951 GB, free: 9.348 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004415/0.5488, allocations: 91.88 kB / 0.5952 GB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.5488, allocations: 4 kB / 0.5952 GB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.5488, allocations: 0 / 0.5952 GB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5488, allocations: 0 / 0.5952 GB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.5488, allocations: 3.953 kB / 0.5952 GB, free: 9.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005825/0.5494, allocations: 450.7 kB / 0.5956 GB, free: 8.793 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.5495, allocations: 128.7 kB / 0.5957 GB, free: 8.648 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.188e-05/0.5496, allocations: 3.984 kB / 0.5957 GB, free: 8.645 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.5498, allocations: 4 kB / 0.5957 GB, free: 8.641 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.553e-05/0.5499, allocations: 27.92 kB / 0.5958 GB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.5499, allocations: 7.984 kB / 0.5958 GB, free: 8.605 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000129/0.5501, allocations: 156.5 kB / 0.5959 GB, free: 8.449 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5501, allocations: 4.062 kB / 0.5959 GB, free: 8.445 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003616/0.5504, allocations: 95.53 kB / 0.596 GB, free: 8.352 MB / 410.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.0001369/0.5506, allocations: 99.19 kB / 0.5961 GB, free: 8.246 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000388/0.551, allocations: 235.9 kB / 0.5963 GB, free: 8.016 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.551, allocations: 0 / 0.5963 GB, free: 8.016 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.5512, allocations: 112.5 kB / 0.5964 GB, free: 7.906 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.5514, allocations: 16.86 kB / 0.5965 GB, free: 7.891 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.5525, allocations: 0.5116 MB / 0.597 GB, free: 7.355 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.5529, allocations: 0.7955 MB / 0.5977 GB, free: 6.531 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002002/0.5531, allocations: 39.25 kB / 0.5978 GB, free: 6.496 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.624e-05/0.5532, allocations: 27.42 kB / 0.5978 GB, free: 6.469 MB / 410.7 MB Notification: Performance of SimCode: time 1.573e-06/0.5532, allocations: 0 / 0.5978 GB, free: 6.469 MB / 410.7 MB Notification: Performance of Templates: time 0.005252/0.5585, allocations: 2.138 MB / 0.5999 GB, free: 4.352 MB / 410.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