Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.000996/0.000996, allocations: 80.92 kB / 21.5 MB, free: 2.988 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.001158/0.001158, allocations: 167.8 kB / 24.91 MB, free: 8.633 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.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2466/0.2466, allocations: 34.26 MB / 296.1 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.92e-07/9.92e-07, allocations: 0 / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197e-05/1.297e-05, allocations: 4.703 kB / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004245/0.004258, allocations: 3.033 MB / 328.3 MB, free: 4.613 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.00543, allocations: 0.7884 MB / 329.1 MB, free: 3.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.005539, allocations: 4 kB / 329.1 MB, free: 3.816 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.005653, allocations: 59.31 kB / 329.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.005792, allocations: 115 kB / 329.3 MB, free: 3.645 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.00599, allocations: 119.7 kB / 329.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003197/0.00631, allocations: 494.4 kB / 329.9 MB, free: 3.043 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.006456, allocations: 105.1 kB / 330 MB, free: 2.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002502/0.006706, allocations: 279.4 kB / 330.2 MB, free: 2.656 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.006858, allocations: 155.5 kB / 330.4 MB, free: 2.504 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.006896, allocations: 47.92 kB / 330.4 MB, free: 2.457 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.131e-05/0.006957, allocations: 44 kB / 330.5 MB, free: 2.414 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.44e-05/0.007001, allocations: 87.66 kB / 330.6 MB, free: 2.328 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.299e-05/0.007084, allocations: 143.6 kB / 330.7 MB, free: 2.188 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.007324, allocations: 310.8 kB / 331 MB, free: 1.883 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.007325, allocations: 0 / 331 MB, free: 1.883 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.007326, allocations: 0 / 331 MB, free: 1.883 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.00733, allocations: 0 / 331 MB, free: 1.883 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.0006406/0.00797, allocations: 0.6215 MB / 331.6 MB, free: 1.238 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.483e-05/0.007995, allocations: 8.031 kB / 331.6 MB, free: 1.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.008145, allocations: 72.88 kB / 331.7 MB, free: 1.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.008337, allocations: 201.1 kB / 331.9 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.008355, allocations: 29.38 kB / 331.9 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.008389, allocations: 36.38 kB / 332 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.008623, allocations: 255.7 kB / 332.2 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.008634, allocations: 192 / 332.2 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.008652, allocations: 16.38 kB / 332.2 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.00866, allocations: 11.94 kB / 332.3 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.008795, allocations: 114.9 kB / 332.4 MB, free: 484 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009701/0.009765, allocations: 0.9305 MB / 333.3 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.009921, allocations: 134.9 kB / 333.4 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.547e-05/0.009996, allocations: 81.33 kB / 333.5 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.01002, allocations: 8.281 kB / 333.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.01003, allocations: 34.84 kB / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 1.593e-06/0.01004, allocations: 0 / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.0002247/0.01026, allocations: 179.8 kB / 333.7 MB, free: 15.03 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.01028, allocations: 63.28 kB / 333.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.0104, allocations: 220.9 kB / 334 MB, free: 14.72 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.01041, allocations: 29.7 kB / 334 MB, free: 14.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.211e-05/0.01049, allocations: 208.2 kB / 334.2 MB, free: 14.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.318e-05/0.01054, allocations: 122.9 kB / 334.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.58e-05/0.0106, allocations: 70.11 kB / 334.4 MB, free: 14.28 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.795e-05/0.01068, allocations: 342.8 kB / 334.8 MB, free: 13.94 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.583e-05/0.01073, allocations: 36.92 kB / 334.8 MB, free: 13.9 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.035e-05/0.01081, allocations: 112.1 kB / 334.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.01096, allocations: 172.5 kB / 335.1 MB, free: 13.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01096, allocations: 0 / 335.1 MB, free: 13.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0001934/0.01115, allocations: 198.7 kB / 335.3 MB, free: 13.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.01116, allocations: 7.938 kB / 335.3 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.01117, allocations: 4 kB / 335.3 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.01118, allocations: 4 kB / 335.3 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.01144, allocations: 115.8 kB / 335.4 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.01144, allocations: 8 kB / 335.4 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.197e-05/0.01154, allocations: 31.77 kB / 335.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.01155, allocations: 16.22 kB / 335.5 MB, free: 13.2 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 7.819e-05/0.01163, allocations: 129.8 kB / 335.6 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.01167, allocations: 31.91 kB / 335.6 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001975/0.01186, allocations: 186.4 kB / 335.8 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.01187, allocations: 4 kB / 335.8 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.01187, allocations: 3.938 kB / 335.8 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01187, allocations: 3.984 kB / 335.8 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.01206, allocations: 193.6 kB / 336 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.01206, allocations: 0 / 336 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.01227, allocations: 95.86 kB / 336.1 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01228, allocations: 4 kB / 336.1 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.01229, allocations: 4 kB / 336.1 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01229, allocations: 4 kB / 336.1 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.01229, allocations: 0 / 336.1 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.01253, allocations: 307.9 kB / 336.4 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.301e-05/0.01259, allocations: 43.66 kB / 336.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.01261, allocations: 12 kB / 336.5 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.87e-05/0.01269, allocations: 8 kB / 336.5 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.01273, allocations: 23.81 kB / 336.5 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.01274, allocations: 12.03 kB / 336.5 MB, free: 12.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.917e-05/0.01278, allocations: 74.72 kB / 336.6 MB, free: 12.03 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01279, allocations: 0 / 336.6 MB, free: 12.03 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001792/0.01296, allocations: 91.84 kB / 336.7 MB, free: 11.94 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 6.575e-05/0.01303, allocations: 89.2 kB / 336.7 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.0132, allocations: 149.7 kB / 336.9 MB, free: 11.69 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.0132, allocations: 4.438 kB / 336.9 MB, free: 11.69 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.155e-05/0.01327, allocations: 84.84 kB / 337 MB, free: 11.6 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.01343, allocations: 28.5 kB / 337 MB, free: 11.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006986/0.01412, allocations: 0.6536 MB / 337.7 MB, free: 10.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.451e-05/0.01418, allocations: 97.3 kB / 337.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.01428, allocations: 34.95 kB / 337.8 MB, free: 10.74 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.01439, allocations: 87.36 kB / 337.9 MB, free: 10.65 MB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01439, allocations: 4 kB / 337.9 MB, free: 10.65 MB / 314.7 MB Notification: Performance of Templates: time 0.004269/0.01866, allocations: 2.623 MB / 340.5 MB, free: 8.082 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.808859433978796]