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.001199/0.001199, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001416/0.001416, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.002/1.002, allocations: 177.1 MB / 205 MB, free: 5.637 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.2754/0.2754, allocations: 32.81 MB / 294.3 MB, free: 1.273 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 2.685e-06/2.685e-06, allocations: 0 / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.703e-05/3.971e-05, allocations: 6.109 kB / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004853/0.004893, allocations: 3.027 MB / 379 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.006741, allocations: 0.7634 MB / 379.8 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/0.006985, allocations: 7.938 kB / 379.8 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.007148, allocations: 55.44 kB / 379.9 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.007441, allocations: 107 kB / 380 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.00782, allocations: 127.7 kB / 380.1 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006478/0.008468, allocations: 482.4 kB / 380.6 MB, free: 96 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002533/0.008721, allocations: 108.5 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004059/0.009127, allocations: 279.4 kB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.009288, allocations: 147.5 kB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.254e-05/0.009331, allocations: 40 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.95e-05/0.0094, allocations: 44 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.795e-05/0.009458, allocations: 91.64 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.009568, allocations: 143.6 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002971/0.009865, allocations: 310.8 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.009867, allocations: 0 / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.009868, allocations: 4 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.009873, allocations: 0 / 381.7 MB, free: 14.94 MB / 362.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.0007984/0.01067, allocations: 0.7339 MB / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.0107, allocations: 11.98 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.01089, allocations: 92.64 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.01115, allocations: 243.9 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.01117, allocations: 29.38 kB / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.304e-05/0.01121, allocations: 36.38 kB / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006759/0.01189, allocations: 279.7 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.0119, allocations: 192 / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.01192, allocations: 16.38 kB / 383.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.01193, allocations: 15.88 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002615/0.01219, allocations: 165.9 kB / 383.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.01347, allocations: 1.148 MB / 384.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.01372, allocations: 185.8 kB / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.01385, allocations: 92.2 kB / 384.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.01387, allocations: 8.281 kB / 384.7 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.01389, allocations: 37.67 kB / 384.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 2.144e-06/0.0139, allocations: 7.984 kB / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.0003746/0.01427, allocations: 259.5 kB / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/0.01429, allocations: 59.34 kB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.01446, allocations: 276.2 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.01448, allocations: 41.64 kB / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.01458, allocations: 259.3 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.019e-05/0.01464, allocations: 126.9 kB / 385.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.452e-05/0.01471, allocations: 71.84 kB / 385.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.01484, allocations: 0.5079 MB / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.752e-05/0.01493, allocations: 48.97 kB / 386.4 MB, free: 9.996 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.01506, allocations: 142.8 kB / 386.5 MB, free: 9.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.01529, allocations: 223.2 kB / 386.8 MB, free: 9.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01529, allocations: 0 / 386.8 MB, free: 9.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003115/0.0156, allocations: 282.4 kB / 387 MB, free: 9.289 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.01561, allocations: 8 kB / 387 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.01561, allocations: 3.938 kB / 387.1 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.447e-06/0.01562, allocations: 4 kB / 387.1 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.01587, allocations: 108.1 kB / 387.2 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.01588, allocations: 4 kB / 387.2 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.01599, allocations: 27.78 kB / 387.2 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.01601, allocations: 19.98 kB / 387.2 MB, free: 9.117 MB / 362.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.0001049/0.01611, allocations: 180.4 kB / 387.4 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.01616, allocations: 39.81 kB / 387.4 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003138/0.01647, allocations: 245.7 kB / 387.7 MB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01648, allocations: 4 kB / 387.7 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.01648, allocations: 0 / 387.7 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01648, allocations: 4 kB / 387.7 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.01674, allocations: 280.3 kB / 387.9 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01674, allocations: 0 / 387.9 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/0.01694, allocations: 83.88 kB / 388 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.01694, allocations: 0 / 388 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.01696, allocations: 4 kB / 388 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.01696, allocations: 11.88 kB / 388 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.01696, allocations: 0 / 388 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004327/0.0174, allocations: 439.5 kB / 388.5 MB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.616e-05/0.01746, allocations: 43.77 kB / 388.5 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.01749, allocations: 12.03 kB / 388.5 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.002e-05/0.01758, allocations: 11.94 kB / 388.5 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.01763, allocations: 23.95 kB / 388.6 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.01764, allocations: 4 kB / 388.6 MB, free: 7.688 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001198/0.01776, allocations: 197.1 kB / 388.8 MB, free: 7.496 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.01776, allocations: 4 kB / 388.8 MB, free: 7.492 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002501/0.01801, allocations: 95.73 kB / 388.9 MB, free: 7.398 MB / 362.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 9.45e-05/0.01811, allocations: 107.2 kB / 389 MB, free: 7.285 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002865/0.01839, allocations: 188.4 kB / 389.1 MB, free: 7.098 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01839, allocations: 0 / 389.1 MB, free: 7.098 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.0185, allocations: 103.8 kB / 389.2 MB, free: 6.992 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.01873, allocations: 24.5 kB / 389.3 MB, free: 6.969 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.02, allocations: 0.679 MB / 390 MB, free: 6.258 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.327e-05/0.02006, allocations: 92.81 kB / 390 MB, free: 6.148 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.02017, allocations: 34.95 kB / 390.1 MB, free: 6.117 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.691e-05/0.02025, allocations: 28.48 kB / 390.1 MB, free: 6.086 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.02025, allocations: 0 / 390.1 MB, free: 6.086 MB / 362.7 MB Notification: Performance of Templates: time 0.004816/0.02506, allocations: 2.493 MB / 392.6 MB, free: 3.633 MB / 362.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 -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: 3.283907638397068]