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.002397/0.002397, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002706/0.002706, allocations: 169.3 kB / 24.28 MB, free: 152 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.748/1.748, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3558/0.3558, allocations: 32.8 MB / 293.9 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 179] 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.803e-06/1.803e-06, allocations: 0 / 375.3 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.858e-05/3.039e-05, allocations: 2.312 kB / 375.3 MB, free: 5.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004896/0.004926, allocations: 2.989 MB / 378.3 MB, free: 2 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.006455, allocations: 0.7518 MB / 379 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.006607, allocations: 7.938 kB / 379 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.006805, allocations: 59.38 kB / 379.1 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002362/0.007042, allocations: 107 kB / 379.2 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.007417, allocations: 127.7 kB / 379.3 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006115/0.008028, allocations: 486.3 kB / 379.8 MB, free: 476 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002364/0.008265, allocations: 104.5 kB / 379.9 MB, free: 364 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004341/0.008699, allocations: 275.4 kB / 380.1 MB, free: 88 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002804/0.008979, allocations: 155.5 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.471e-05/0.009054, allocations: 40 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.009156, allocations: 43.94 kB / 380.4 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.888e-05/0.009255, allocations: 99.64 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.009428, allocations: 139.7 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006356/0.01006, allocations: 486.4 kB / 381.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.485e-06/0.01007, allocations: 4 kB / 381.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01007, allocations: 0 / 381.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.01008, allocations: 0 / 381.1 MB, free: 15.14 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.001672/0.01175, allocations: 0.7531 MB / 381.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.01179, allocations: 11.98 kB / 381.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003137/0.0121, allocations: 92.64 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.01252, allocations: 243.9 kB / 382.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.56e-05/0.01256, allocations: 33.38 kB / 382.2 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.147e-05/0.01264, allocations: 40.33 kB / 382.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006525/0.01329, allocations: 327 kB / 382.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.01331, allocations: 4.188 kB / 382.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.984e-05/0.01335, allocations: 16.38 kB / 382.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.01337, allocations: 15.94 kB / 382.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006344/0.014, allocations: 283.8 kB / 382.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002476/0.01648, allocations: 1.281 MB / 384.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005441/0.01702, allocations: 261.9 kB / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.01731, allocations: 140.1 kB / 384.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.01735, allocations: 4.281 kB / 384.6 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.01739, allocations: 45.66 kB / 384.6 MB, free: 11.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 1.303e-06/0.01739, allocations: 0 / 384.6 MB, free: 11.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.000873/0.01826, allocations: 371.5 kB / 385 MB, free: 11.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.01833, allocations: 59.34 kB / 385 MB, free: 11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003684/0.0187, allocations: 316.2 kB / 385.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.01873, allocations: 29.7 kB / 385.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.01895, allocations: 259.4 kB / 385.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.01909, allocations: 134.9 kB / 385.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.01924, allocations: 83.8 kB / 385.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003215/0.01956, allocations: 0.5157 MB / 386.4 MB, free: 9.633 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.01979, allocations: 92.95 kB / 386.4 MB, free: 9.543 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.0201, allocations: 194.8 kB / 386.6 MB, free: 9.316 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005624/0.02066, allocations: 307.2 kB / 386.9 MB, free: 8.984 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.02066, allocations: 0 / 386.9 MB, free: 8.984 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006968/0.02136, allocations: 366.5 kB / 387.3 MB, free: 8.621 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.02138, allocations: 4 kB / 387.3 MB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.02139, allocations: 7.938 kB / 387.3 MB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.02142, allocations: 4 kB / 387.3 MB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004932/0.02191, allocations: 99.88 kB / 387.4 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.02192, allocations: 11.92 kB / 387.4 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.02218, allocations: 35.73 kB / 387.4 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/0.02221, allocations: 16.22 kB / 387.5 MB, free: 8.445 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.0002089/0.02242, allocations: 200.4 kB / 387.7 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.738e-05/0.0225, allocations: 35.86 kB / 387.7 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007035/0.0232, allocations: 313.7 kB / 388 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.02321, allocations: 4 kB / 388 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.02321, allocations: 0 / 388 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.02322, allocations: 7.984 kB / 388 MB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005094/0.02373, allocations: 320.3 kB / 388.3 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.02373, allocations: 4 kB / 388.3 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005629/0.0243, allocations: 83.89 kB / 388.4 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.0243, allocations: 4 kB / 388.4 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/0.02433, allocations: 8 kB / 388.4 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.02434, allocations: 7.922 kB / 388.4 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.02434, allocations: 0 / 388.4 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009275/0.02527, allocations: 0.5542 MB / 389 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.0254, allocations: 47.72 kB / 389 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.02544, allocations: 4 kB / 389 MB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.02565, allocations: 11.94 kB / 389 MB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.466e-05/0.02572, allocations: 27.98 kB / 389.1 MB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.02575, allocations: 11.98 kB / 389.1 MB, free: 6.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002135/0.02596, allocations: 217.1 kB / 389.3 MB, free: 6.539 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02596, allocations: 0 / 389.3 MB, free: 6.539 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003953/0.02636, allocations: 99.78 kB / 389.4 MB, free: 6.441 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 0.0001339/0.02649, allocations: 99.19 kB / 389.5 MB, free: 6.336 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005957/0.02709, allocations: 276.5 kB / 389.8 MB, free: 6.062 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.02709, allocations: 4.125 kB / 389.8 MB, free: 6.059 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002789/0.02737, allocations: 135.9 kB / 389.9 MB, free: 5.922 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.02771, allocations: 28.48 kB / 389.9 MB, free: 5.895 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.02923, allocations: 0.7098 MB / 390.6 MB, free: 5.152 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.02943, allocations: 177.3 kB / 390.8 MB, free: 4.957 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001742/0.02961, allocations: 38.95 kB / 390.8 MB, free: 4.922 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.02971, allocations: 32.48 kB / 390.9 MB, free: 4.887 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.02971, allocations: 0 / 390.9 MB, free: 4.887 MB / 362.7 MB Notification: Performance of Templates: time 0.007558/0.03727, allocations: 2.47 MB / 393.4 MB, free: 2.457 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.117101514013484]