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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 167.3 kB / 24.91 MB, free: 9.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2667/0.2667, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 323.3 MB, free: 9.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.252e-05, allocations: 5.266 kB / 323.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004181/0.004214, allocations: 3.021 MB / 326.3 MB, free: 6.641 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.006286, allocations: 0.7878 MB / 327.1 MB, free: 5.848 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002831/0.006569, allocations: 11.94 kB / 327.1 MB, free: 5.836 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000215/0.006784, allocations: 63.38 kB / 327.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.007054, allocations: 99.05 kB / 327.2 MB, free: 5.676 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005266/0.007581, allocations: 127.6 kB / 327.4 MB, free: 5.551 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005645/0.008145, allocations: 487.2 kB / 327.8 MB, free: 5.074 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002805/0.008426, allocations: 117.1 kB / 328 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005606/0.008987, allocations: 279.4 kB / 328.2 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.009214, allocations: 155.5 kB / 328.4 MB, free: 4.523 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.787e-05/0.009272, allocations: 36 kB / 328.4 MB, free: 4.488 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.009378, allocations: 47.94 kB / 328.5 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.202e-05/0.00944, allocations: 87.66 kB / 328.5 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.009574, allocations: 143.6 kB / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004204/0.009994, allocations: 306.8 kB / 329 MB, free: 3.914 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.01, allocations: 0 / 329 MB, free: 3.914 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.01, allocations: 4 kB / 329 MB, free: 3.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.01001, allocations: 4 kB / 329 MB, free: 3.906 MB / 298.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.001085/0.0111, allocations: 0.6174 MB / 329.6 MB, free: 3.266 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.749e-05/0.01117, allocations: 11.98 kB / 329.6 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003181/0.01148, allocations: 72.88 kB / 329.7 MB, free: 3.184 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000405/0.01189, allocations: 193.2 kB / 329.9 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.01192, allocations: 29.38 kB / 329.9 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.3e-05/0.01197, allocations: 44.31 kB / 330 MB, free: 2.898 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000368/0.01234, allocations: 255.6 kB / 330.2 MB, free: 2.641 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.01236, allocations: 4.188 kB / 330.2 MB, free: 2.637 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.01238, allocations: 16.38 kB / 330.2 MB, free: 2.621 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.0124, allocations: 15.94 kB / 330.2 MB, free: 2.605 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.01257, allocations: 114.9 kB / 330.4 MB, free: 2.492 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.01397, allocations: 0.9266 MB / 331.3 MB, free: 1.504 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.0142, allocations: 146.9 kB / 331.4 MB, free: 1.352 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.801e-05/0.0143, allocations: 74.16 kB / 331.5 MB, free: 1.277 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.01434, allocations: 4.281 kB / 331.5 MB, free: 1.273 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.01437, allocations: 38.84 kB / 331.5 MB, free: 1.227 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 3.346e-06/0.01438, allocations: 0 / 331.5 MB, free: 1.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.0003203/0.0147, allocations: 179.7 kB / 331.7 MB, free: 1.043 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.01474, allocations: 59.34 kB / 331.8 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.01495, allocations: 220.9 kB / 332 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.01498, allocations: 33.7 kB / 332 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.01512, allocations: 208.2 kB / 332.2 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.752e-05/0.01519, allocations: 122.9 kB / 332.3 MB, free: 384 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.01531, allocations: 74.11 kB / 332.4 MB, free: 304 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.01551, allocations: 338.8 kB / 332.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.393e-05/0.0156, allocations: 36.97 kB / 332.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.01573, allocations: 100.1 kB / 332.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.01597, allocations: 180.5 kB / 333.1 MB, free: 15.6 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.01598, allocations: 3.984 kB / 333.1 MB, free: 15.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003158/0.01629, allocations: 194.7 kB / 333.3 MB, free: 15.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.01632, allocations: 4 kB / 333.3 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.01633, allocations: 4 kB / 333.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.117e-05/0.01636, allocations: 4 kB / 333.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/0.01677, allocations: 120 kB / 333.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.01678, allocations: 7.938 kB / 333.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.01693, allocations: 35.72 kB / 333.4 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.01695, allocations: 11.98 kB / 333.4 MB, free: 15.22 MB / 314.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.01708, allocations: 129.8 kB / 333.6 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.01712, allocations: 23.98 kB / 333.6 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/0.0174, allocations: 190.4 kB / 333.8 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.01741, allocations: 7.984 kB / 333.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.01741, allocations: 3.938 kB / 333.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.01742, allocations: 0 / 333.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.01767, allocations: 205.6 kB / 334 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.01767, allocations: 0 / 334 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.01792, allocations: 87.92 kB / 334.1 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.01792, allocations: 0 / 334.1 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.01794, allocations: 12 kB / 334.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.01795, allocations: 7.938 kB / 334.1 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01795, allocations: 0 / 334.1 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.0183, allocations: 308 kB / 334.4 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.01837, allocations: 35.69 kB / 334.4 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.01841, allocations: 8.031 kB / 334.4 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.01851, allocations: 11.98 kB / 334.4 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/0.01858, allocations: 23.83 kB / 334.5 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.01859, allocations: 11.98 kB / 334.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.554e-05/0.01867, allocations: 70.72 kB / 334.5 MB, free: 14.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01867, allocations: 0 / 334.5 MB, free: 14.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002912/0.01896, allocations: 95.84 kB / 334.6 MB, free: 13.96 MB / 314.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 (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.0001541/0.01911, allocations: 84.36 kB / 334.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002757/0.01939, allocations: 153.6 kB / 334.9 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.0194, allocations: 0 / 334.9 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.542e-05/0.01949, allocations: 88.84 kB / 335 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.01975, allocations: 28.31 kB / 335 MB, free: 13.6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.02082, allocations: 0.6539 MB / 335.6 MB, free: 12.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.895e-05/0.0209, allocations: 92.81 kB / 335.7 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001358/0.02104, allocations: 42.94 kB / 335.8 MB, free: 12.76 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.02117, allocations: 91.34 kB / 335.9 MB, free: 12.67 MB / 314.7 MB Notification: Performance of SimCode: time 1.252e-06/0.02117, allocations: 3.938 kB / 335.9 MB, free: 12.66 MB / 314.7 MB Notification: Performance of Templates: time 0.005946/0.02712, allocations: 2.608 MB / 338.5 MB, free: 10.11 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8872943399474025]