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.0009623/0.0009623, allocations: 177.9 kB / 17.06 MB, free: 5.098 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.286/1.286, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009608/0.0009608, allocations: 91.05 kB / 292.2 MB, free: 10.91 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.337/0.337, allocations: 44.22 MB / 387.5 MB, free: 39.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003633, allocations: 11.94 kB / 459.9 MB, free: 1.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3349, allocations: 61.9 MB / 0.5096 GB, free: 37.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1117/0.4467, allocations: 91.89 MB / 0.5993 GB, free: 3.258 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.447, allocations: 79.92 kB / 0.5994 GB, free: 3.184 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01657/0.4635, allocations: 5.79 MB / 0.605 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4636, allocations: 0 / 0.605 GB, free: 13.37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.322e-05/0.4636, allocations: 8 kB / 0.605 GB, free: 13.36 MB / 426.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.001112/0.4647, allocations: 0.6358 MB / 0.6057 GB, free: 12.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.4648, allocations: 12.03 kB / 0.6057 GB, free: 12.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.453e-05/0.4649, allocations: 44.81 kB / 0.6057 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.4652, allocations: 278.6 kB / 0.606 GB, free: 12.31 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.4653, allocations: 29 kB / 0.606 GB, free: 12.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.446e-05/0.4653, allocations: 36 kB / 0.606 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006196/0.4659, allocations: 346.4 kB / 0.6064 GB, free: 11.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.466, allocations: 0 / 0.6064 GB, free: 11.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.466, allocations: 16 kB / 0.6064 GB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.466, allocations: 8 kB / 0.6064 GB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006051/0.4666, allocations: 311.8 kB / 0.6067 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002174/0.4688, allocations: 1.351 MB / 0.608 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005049/0.4693, allocations: 289.5 kB / 0.6083 GB, free: 9.828 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.4694, allocations: 8.281 kB / 0.6083 GB, free: 9.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.4694, allocations: 34.84 kB / 0.6083 GB, free: 9.777 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.076e-06/0.4694, allocations: 3.984 kB / 0.6083 GB, free: 9.773 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008119/0.4702, allocations: 395.9 kB / 0.6087 GB, free: 9.383 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.4703, allocations: 55.41 kB / 0.6088 GB, free: 9.316 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.4705, allocations: 233.8 kB / 0.609 GB, free: 9.086 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.4706, allocations: 33.7 kB / 0.609 GB, free: 9.047 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.4707, allocations: 200 kB / 0.6092 GB, free: 8.848 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.283e-05/0.4708, allocations: 122.2 kB / 0.6093 GB, free: 8.727 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.646e-05/0.4708, allocations: 4 kB / 0.6093 GB, free: 8.723 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.4709, allocations: 346.8 kB / 0.6097 GB, free: 8.375 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.4712, allocations: 108.8 kB / 0.6098 GB, free: 8.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/0.4714, allocations: 175.5 kB / 0.6099 GB, free: 8.074 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.4717, allocations: 125.6 kB / 0.6101 GB, free: 7.953 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4717, allocations: 4 kB / 0.6101 GB, free: 7.949 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006584/0.4724, allocations: 371 kB / 0.6104 GB, free: 7.582 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.4724, allocations: 8.219 kB / 0.6104 GB, free: 7.574 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.4724, allocations: 7.938 kB / 0.6104 GB, free: 7.566 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.4725, allocations: 7.984 kB / 0.6104 GB, free: 7.559 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004876/0.473, allocations: 99.88 kB / 0.6105 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.473, allocations: 7.938 kB / 0.6105 GB, free: 7.453 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.4733, allocations: 47.52 kB / 0.6106 GB, free: 7.406 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.4733, allocations: 15.98 kB / 0.6106 GB, free: 7.391 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001595/0.4735, allocations: 154.2 kB / 0.6107 GB, free: 7.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.098e-05/0.4735, allocations: 31.58 kB / 0.6108 GB, free: 7.199 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006466/0.4742, allocations: 338.1 kB / 0.6111 GB, free: 6.863 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.4742, allocations: 8 kB / 0.6111 GB, free: 6.855 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4742, allocations: 0 / 0.6111 GB, free: 6.855 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.4742, allocations: 3.984 kB / 0.6111 GB, free: 6.852 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004576/0.4747, allocations: 397.2 kB / 0.6115 GB, free: 6.414 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4747, allocations: 4 kB / 0.6115 GB, free: 6.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000439/0.4751, allocations: 83.86 kB / 0.6116 GB, free: 6.328 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.4752, allocations: 4 kB / 0.6116 GB, free: 6.324 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.4752, allocations: 11.95 kB / 0.6116 GB, free: 6.312 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4752, allocations: 4 kB / 0.6116 GB, free: 6.309 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4752, allocations: 7.984 kB / 0.6116 GB, free: 6.301 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008312/0.476, allocations: 0.5274 MB / 0.6121 GB, free: 5.758 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.4762, allocations: 128.6 kB / 0.6122 GB, free: 5.613 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.4762, allocations: 8 kB / 0.6122 GB, free: 5.605 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.4765, allocations: 19.94 kB / 0.6123 GB, free: 5.586 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.4765, allocations: 19.97 kB / 0.6123 GB, free: 5.566 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.4766, allocations: 12 kB / 0.6123 GB, free: 5.555 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001538/0.4767, allocations: 190 kB / 0.6125 GB, free: 5.367 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4767, allocations: 0 / 0.6125 GB, free: 5.367 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003451/0.4771, allocations: 95.91 kB / 0.6126 GB, free: 5.273 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 () * 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 (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.000128/0.4772, allocations: 107.2 kB / 0.6127 GB, free: 5.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005561/0.4778, allocations: 279.9 kB / 0.6129 GB, free: 4.887 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4778, allocations: 8.125 kB / 0.6129 GB, free: 4.879 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.478, allocations: 139.8 kB / 0.6131 GB, free: 4.742 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.4783, allocations: 29.58 kB / 0.6131 GB, free: 4.715 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.4796, allocations: 0.9476 MB / 0.614 GB, free: 3.738 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.48, allocations: 0.7913 MB / 0.6148 GB, free: 2.922 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002032/0.4802, allocations: 38.94 kB / 0.6148 GB, free: 2.879 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.652e-05/0.4803, allocations: 27.42 kB / 0.6149 GB, free: 2.852 MB / 426.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4803, allocations: 0 / 0.6149 GB, free: 2.852 MB / 426.7 MB Notification: Performance of Templates: time 0.005057/0.4853, allocations: 2.356 MB / 0.6172 GB, free: 0.5195 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