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.001321/0.001321, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 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.001417/0.001417, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 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.478/1.478, allocations: 177.2 MB / 204.9 MB, free: 9.07 MB / 190.1 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.2161/0.2161, allocations: 32.81 MB / 294.1 MB, free: 72 kB / 270.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 63.89 kB / 440.6 MB, free: 9.504 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3329, allocations: 65.43 MB / 0.4941 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003392/0.3363, allocations: 2.807 MB / 0.4969 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.3374, allocations: 0.7448 MB / 0.4976 GB, free: 29.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.3375, allocations: 10.28 kB / 0.4976 GB, free: 29.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.3377, allocations: 56.12 kB / 0.4977 GB, free: 28.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.3379, allocations: 104.7 kB / 0.4978 GB, free: 28.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.3382, allocations: 121.1 kB / 0.4979 GB, free: 28.85 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003592/0.3386, allocations: 465.4 kB / 0.4983 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.3388, allocations: 112 kB / 0.4984 GB, free: 28.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002519/0.339, allocations: 190.7 kB / 0.4986 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.3392, allocations: 190.4 kB / 0.4988 GB, free: 28.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.064e-05/0.3393, allocations: 36.72 kB / 0.4988 GB, free: 28.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-05/0.3394, allocations: 46.78 kB / 0.4989 GB, free: 28.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.552e-05/0.3395, allocations: 85.16 kB / 0.499 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.3396, allocations: 172.4 kB / 0.4991 GB, free: 28.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004138/0.34, allocations: 473.6 kB / 0.4996 GB, free: 28.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.34, allocations: 3.938 kB / 0.4996 GB, free: 28.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.34, allocations: 0 / 0.4996 GB, free: 28.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.34, allocations: 0 / 0.4996 GB, free: 28.06 MB / 446.1 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.001288/0.3413, allocations: 0.6436 MB / 0.5002 GB, free: 27.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3414, allocations: 13.11 kB / 0.5002 GB, free: 27.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002654/0.3416, allocations: 62.06 kB / 0.5003 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.342, allocations: 236.9 kB / 0.5005 GB, free: 27.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.342, allocations: 34.06 kB / 0.5005 GB, free: 27.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.604e-05/0.3421, allocations: 37.12 kB / 0.5006 GB, free: 27.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000535/0.3426, allocations: 343.8 kB / 0.5009 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.3426, allocations: 2.875 kB / 0.5009 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.3427, allocations: 15.19 kB / 0.5009 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.3427, allocations: 9.312 kB / 0.5009 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005411/0.3432, allocations: 303 kB / 0.5012 GB, free: 27.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.345, allocations: 1.141 MB / 0.5023 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/0.3454, allocations: 258.6 kB / 0.5026 GB, free: 26.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/0.3456, allocations: 141.8 kB / 0.5027 GB, free: 26.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.3457, allocations: 7.25 kB / 0.5027 GB, free: 26.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.3457, allocations: 38.19 kB / 0.5028 GB, free: 26.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.603e-06/0.3457, allocations: 0 / 0.5028 GB, free: 26.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007494/0.3464, allocations: 367.6 kB / 0.5031 GB, free: 25.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.3465, allocations: 64.88 kB / 0.5032 GB, free: 25.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.3467, allocations: 234.7 kB / 0.5034 GB, free: 25.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.3467, allocations: 33.03 kB / 0.5034 GB, free: 25.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.187e-05/0.3468, allocations: 208.5 kB / 0.5036 GB, free: 25.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.595e-05/0.3468, allocations: 128.9 kB / 0.5037 GB, free: 25.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.886e-05/0.3469, allocations: 72.12 kB / 0.5038 GB, free: 25.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.258e-05/0.347, allocations: 335.8 kB / 0.5041 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.3472, allocations: 105.4 kB / 0.5042 GB, free: 25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.3474, allocations: 168.3 kB / 0.5044 GB, free: 24.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004438/0.3478, allocations: 290.2 kB / 0.5047 GB, free: 24.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3478, allocations: 3.938 kB / 0.5047 GB, free: 24.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005719/0.3484, allocations: 371.5 kB / 0.505 GB, free: 24.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3484, allocations: 7.875 kB / 0.505 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3484, allocations: 6.938 kB / 0.505 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3485, allocations: 6.516 kB / 0.505 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004493/0.3489, allocations: 100.1 kB / 0.5051 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3489, allocations: 3.219 kB / 0.5051 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.3492, allocations: 47.25 kB / 0.5052 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.3492, allocations: 9.031 kB / 0.5052 GB, free: 24.52 MB / 446.1 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.0001118/0.3493, allocations: 156.8 kB / 0.5053 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.855e-05/0.3493, allocations: 27.95 kB / 0.5054 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005646/0.3499, allocations: 329 kB / 0.5057 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3499, allocations: 6.469 kB / 0.5057 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3499, allocations: 0 / 0.5057 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3499, allocations: 4 kB / 0.5057 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.3502, allocations: 281.4 kB / 0.506 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3502, allocations: 0 / 0.506 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003907/0.3506, allocations: 77.19 kB / 0.506 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3506, allocations: 6.938 kB / 0.506 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.3506, allocations: 10.44 kB / 0.5061 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3506, allocations: 0 / 0.5061 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3506, allocations: 0 / 0.5061 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007171/0.3513, allocations: 0.5187 MB / 0.5066 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.906e-05/0.3514, allocations: 47.53 kB / 0.5066 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.3515, allocations: 11.05 kB / 0.5066 GB, free: 23.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.3517, allocations: 10.72 kB / 0.5066 GB, free: 23.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/0.3517, allocations: 28.09 kB / 0.5067 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.3518, allocations: 10.28 kB / 0.5067 GB, free: 23.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001256/0.3519, allocations: 170 kB / 0.5068 GB, free: 23.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3519, allocations: 0 / 0.5068 GB, free: 23.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003504/0.3522, allocations: 95.19 kB / 0.5069 GB, free: 23.53 MB / 446.1 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 7.837e-05/0.3523, allocations: 108.3 kB / 0.507 GB, free: 23.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004978/0.3528, allocations: 257 kB / 0.5073 GB, free: 23.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3528, allocations: 0 / 0.5073 GB, free: 23.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.353, allocations: 124.4 kB / 0.5074 GB, free: 23.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.3533, allocations: 29.84 kB / 0.5074 GB, free: 23.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.3545, allocations: 0.7536 MB / 0.5082 GB, free: 22.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.3546, allocations: 182.7 kB / 0.5083 GB, free: 22.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000154/0.3547, allocations: 33.83 kB / 0.5084 GB, free: 22.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.256e-05/0.3548, allocations: 26.53 kB / 0.5084 GB, free: 22.72 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3548, allocations: 0 / 0.5084 GB, free: 22.72 MB / 446.1 MB Notification: Performance of Templates: time 0.005958/0.3608, allocations: 2.463 MB / 0.5108 GB, free: 22.37 MB / 446.1 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/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.084708111011423]