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.0009538/0.0009538, allocations: 80.8 kB / 21.5 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.001024/0.001024, allocations: 170.9 kB / 24.91 MB, free: 9.152 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 0.9539/0.9539, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.262/0.262, allocations: 34.25 MB / 296.1 MB, free: 0.7266 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 1.322e-06/1.322e-06, allocations: 0 / 325.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.253e-05, allocations: 8.281 kB / 325.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003187/0.00321, allocations: 2.986 MB / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.004376, allocations: 0.7885 MB / 329 MB, free: 3.922 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.004554, allocations: 11.94 kB / 329 MB, free: 3.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001665/0.004721, allocations: 51.44 kB / 329.1 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.005023, allocations: 111 kB / 329.2 MB, free: 3.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.005294, allocations: 131.6 kB / 329.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003488/0.005643, allocations: 486.5 kB / 329.8 MB, free: 3.145 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.005816, allocations: 109.1 kB / 329.9 MB, free: 3.027 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003038/0.006119, allocations: 271.4 kB / 330.2 MB, free: 2.762 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.006292, allocations: 155.5 kB / 330.3 MB, free: 2.609 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.532e-05/0.006337, allocations: 40 kB / 330.3 MB, free: 2.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.941e-05/0.006417, allocations: 44 kB / 330.4 MB, free: 2.527 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.829e-05/0.006475, allocations: 91.64 kB / 330.5 MB, free: 2.438 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.933e-05/0.006574, allocations: 139.7 kB / 330.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000341/0.006915, allocations: 314.8 kB / 330.9 MB, free: 1.992 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.006919, allocations: 3.984 kB / 330.9 MB, free: 1.988 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.006921, allocations: 4 kB / 330.9 MB, free: 1.984 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.006927, allocations: 0 / 330.9 MB, free: 1.984 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.0007978/0.007725, allocations: 0.6098 MB / 331.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.007765, allocations: 12.03 kB / 331.6 MB, free: 1.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.007943, allocations: 76.81 kB / 331.6 MB, free: 1.266 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.008176, allocations: 201.2 kB / 331.8 MB, free: 1.039 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.008199, allocations: 33.38 kB / 331.9 MB, free: 1.008 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/0.008245, allocations: 40.36 kB / 331.9 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.008517, allocations: 255.7 kB / 332.1 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.00853, allocations: 192 / 332.1 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.008553, allocations: 16.38 kB / 332.2 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.008562, allocations: 11.94 kB / 332.2 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.008701, allocations: 110.9 kB / 332.3 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.009818, allocations: 0.9266 MB / 333.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.01001, allocations: 150.8 kB / 333.4 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.203e-05/0.01009, allocations: 73.23 kB / 333.4 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.01011, allocations: 8.266 kB / 333.4 MB, free: 15.35 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.01013, allocations: 34.84 kB / 333.5 MB, free: 15.31 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 1.664e-06/0.01014, allocations: 0 / 333.5 MB, free: 15.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.0002632/0.0104, allocations: 183.7 kB / 333.6 MB, free: 15.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.01043, allocations: 59.34 kB / 333.7 MB, free: 15.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.01057, allocations: 224.9 kB / 333.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.01059, allocations: 29.7 kB / 334 MB, free: 14.78 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/0.01067, allocations: 204.2 kB / 334.2 MB, free: 14.58 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.154e-05/0.01073, allocations: 126.9 kB / 334.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.112e-05/0.01081, allocations: 70.11 kB / 334.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.162e-05/0.0109, allocations: 334.8 kB / 334.7 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.854e-05/0.01095, allocations: 36.97 kB / 334.7 MB, free: 14.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.938e-05/0.01104, allocations: 112.1 kB / 334.8 MB, free: 13.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.0112, allocations: 172.5 kB / 335 MB, free: 13.69 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.0112, allocations: 4 kB / 335 MB, free: 13.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000216/0.01142, allocations: 194.6 kB / 335.2 MB, free: 13.49 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.01143, allocations: 8 kB / 335.2 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.01144, allocations: 0 / 335.2 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.01145, allocations: 4 kB / 335.2 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.01167, allocations: 108 kB / 335.3 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.01168, allocations: 8 kB / 335.3 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.449e-05/0.01177, allocations: 35.77 kB / 335.3 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.01179, allocations: 8 kB / 335.4 MB, free: 13.32 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 8.743e-05/0.01188, allocations: 133.7 kB / 335.5 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.01191, allocations: 31.97 kB / 335.5 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.01213, allocations: 186.4 kB / 335.7 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.01214, allocations: 4 kB / 335.7 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.01214, allocations: 3.938 kB / 335.7 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.01214, allocations: 0 / 335.7 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.01235, allocations: 201.6 kB / 335.9 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01235, allocations: 0 / 335.9 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.01254, allocations: 79.89 kB / 336 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.01254, allocations: 4 kB / 336 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.01255, allocations: 11.98 kB / 336 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.01256, allocations: 0 / 336 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01256, allocations: 0 / 336 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006074/0.01316, allocations: 311.9 kB / 336.3 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.071e-05/0.01325, allocations: 35.69 kB / 336.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.01329, allocations: 4 kB / 336.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.01339, allocations: 16.02 kB / 336.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.01344, allocations: 27.81 kB / 336.4 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.01344, allocations: 4 kB / 336.4 MB, free: 12.24 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.516e-05/0.0135, allocations: 78.72 kB / 336.5 MB, free: 12.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0135, allocations: 0 / 336.5 MB, free: 12.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001903/0.01369, allocations: 87.84 kB / 336.5 MB, free: 12.07 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 8.815e-05/0.01378, allocations: 88.36 kB / 336.6 MB, free: 11.97 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.01396, allocations: 150 kB / 336.8 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.01396, allocations: 4.062 kB / 336.8 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.646e-05/0.01404, allocations: 84.84 kB / 336.9 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.01422, allocations: 32.48 kB / 336.9 MB, free: 11.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007683/0.01499, allocations: 0.6496 MB / 337.5 MB, free: 11.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.54e-05/0.01505, allocations: 105.2 kB / 337.6 MB, free: 10.9 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000109/0.01516, allocations: 34.95 kB / 337.7 MB, free: 10.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.01526, allocations: 87.36 kB / 337.8 MB, free: 10.78 MB / 314.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01526, allocations: 3.938 kB / 337.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of Templates: time 0.004453/0.01972, allocations: 2.616 MB / 340.4 MB, free: 8.211 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 -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.9188912170939147]