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.00145/0.00145, allocations: 69.8 kB / 21.24 MB, free: 0.5547 MB / 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.001587/0.001587, allocations: 163 kB / 24.5 MB, free: 3.715 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.515/1.515, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] 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.2252/0.2252, allocations: 34.27 MB / 295.5 MB, free: 14.55 MB / 286.1 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 0.002238/0.002238, allocations: 63.91 kB / 443.2 MB, free: 6.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3608, allocations: 66.01 MB / 0.4972 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004125/0.3649, allocations: 2.792 MB / 0.5 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.3664, allocations: 0.7593 MB / 0.5007 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002066/0.3666, allocations: 6.281 kB / 0.5007 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002274/0.3668, allocations: 59.09 kB / 0.5008 GB, free: 27.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.3671, allocations: 101.6 kB / 0.5009 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.3675, allocations: 118.5 kB / 0.501 GB, free: 27.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004811/0.3679, allocations: 470.2 kB / 0.5014 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.3682, allocations: 112.2 kB / 0.5015 GB, free: 26.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002647/0.3684, allocations: 186.7 kB / 0.5017 GB, free: 26.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.3686, allocations: 184.7 kB / 0.5019 GB, free: 26.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.707e-05/0.3687, allocations: 40.62 kB / 0.5019 GB, free: 26.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.858e-05/0.3688, allocations: 39.31 kB / 0.502 GB, free: 26.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.485e-05/0.3688, allocations: 92.91 kB / 0.502 GB, free: 26.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.369, allocations: 181.7 kB / 0.5022 GB, free: 26.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004302/0.3694, allocations: 471.2 kB / 0.5027 GB, free: 26.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3694, allocations: 0 / 0.5027 GB, free: 26.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3694, allocations: 0 / 0.5027 GB, free: 26.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.3694, allocations: 0 / 0.5027 GB, free: 26.49 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.001231/0.3707, allocations: 0.6399 MB / 0.5033 GB, free: 26.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3707, allocations: 8.375 kB / 0.5033 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002489/0.371, allocations: 70.11 kB / 0.5034 GB, free: 26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.3713, allocations: 234 kB / 0.5036 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.3714, allocations: 28.5 kB / 0.5036 GB, free: 25.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.472e-05/0.3714, allocations: 37.25 kB / 0.5037 GB, free: 25.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006098/0.372, allocations: 349.5 kB / 0.504 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.372, allocations: 0 / 0.504 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.3721, allocations: 19.09 kB / 0.504 GB, free: 25.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.3721, allocations: 9.438 kB / 0.504 GB, free: 25.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005613/0.3726, allocations: 298.5 kB / 0.5043 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.3744, allocations: 1.143 MB / 0.5054 GB, free: 24.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/0.3749, allocations: 256.5 kB / 0.5057 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.3751, allocations: 135.3 kB / 0.5058 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.3752, allocations: 11.12 kB / 0.5058 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.3752, allocations: 37.91 kB / 0.5058 GB, free: 24.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.683e-06/0.3752, allocations: 0 / 0.5058 GB, free: 24.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007551/0.3759, allocations: 370.5 kB / 0.5062 GB, free: 24.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.376, allocations: 58.91 kB / 0.5062 GB, free: 24.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.3762, allocations: 231.3 kB / 0.5065 GB, free: 24.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.3762, allocations: 36.92 kB / 0.5065 GB, free: 24.13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.316e-05/0.3763, allocations: 207.4 kB / 0.5067 GB, free: 23.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.94e-05/0.3763, allocations: 132.4 kB / 0.5068 GB, free: 23.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.011e-05/0.3764, allocations: 70.38 kB / 0.5069 GB, free: 23.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.454e-05/0.3765, allocations: 338.6 kB / 0.5072 GB, free: 23.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.3767, allocations: 101.7 kB / 0.5073 GB, free: 23.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.3769, allocations: 173.2 kB / 0.5075 GB, free: 23.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004329/0.3773, allocations: 292.7 kB / 0.5078 GB, free: 23.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.3773, allocations: 3.344 kB / 0.5078 GB, free: 23.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005556/0.3779, allocations: 368.6 kB / 0.5081 GB, free: 23.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3779, allocations: 10.5 kB / 0.5081 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3779, allocations: 0 / 0.5081 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.3779, allocations: 5.719 kB / 0.5081 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004427/0.3784, allocations: 99.28 kB / 0.5082 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.3784, allocations: 2.875 kB / 0.5082 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.3786, allocations: 43.34 kB / 0.5083 GB, free: 22.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.3787, allocations: 12.8 kB / 0.5083 GB, free: 22.97 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.0001104/0.3788, allocations: 161.6 kB / 0.5084 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.3788, allocations: 31.73 kB / 0.5085 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005772/0.3794, allocations: 321.9 kB / 0.5088 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.3794, allocations: 6.094 kB / 0.5088 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3794, allocations: 0 / 0.5088 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.3794, allocations: 0 / 0.5088 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/0.3797, allocations: 281.2 kB / 0.509 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3797, allocations: 4 kB / 0.509 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003809/0.3801, allocations: 77.61 kB / 0.5091 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.3801, allocations: 10.94 kB / 0.5091 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.3801, allocations: 11.47 kB / 0.5091 GB, free: 22.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3801, allocations: 3 kB / 0.5091 GB, free: 22.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3801, allocations: 0 / 0.5091 GB, free: 22.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007052/0.3808, allocations: 0.5104 MB / 0.5096 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.935e-05/0.3809, allocations: 49.94 kB / 0.5097 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.3809, allocations: 7.953 kB / 0.5097 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.3812, allocations: 13.66 kB / 0.5097 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.3812, allocations: 27.52 kB / 0.5097 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.3812, allocations: 13.97 kB / 0.5098 GB, free: 22.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.3813, allocations: 164.3 kB / 0.5099 GB, free: 22 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3813, allocations: 2.875 kB / 0.5099 GB, free: 22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000353/0.3817, allocations: 97.06 kB / 0.51 GB, free: 21.97 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 9.234e-05/0.3818, allocations: 102.3 kB / 0.5101 GB, free: 21.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005266/0.3823, allocations: 260.1 kB / 0.5104 GB, free: 21.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3823, allocations: 0 / 0.5104 GB, free: 21.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.3825, allocations: 125.4 kB / 0.5105 GB, free: 21.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.3829, allocations: 26.44 kB / 0.5105 GB, free: 21.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.3842, allocations: 0.7578 MB / 0.5112 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.3844, allocations: 180 kB / 0.5114 GB, free: 21.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001638/0.3845, allocations: 37.97 kB / 0.5114 GB, free: 21.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.065e-05/0.3846, allocations: 28.5 kB / 0.5115 GB, free: 21.16 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3846, allocations: 0 / 0.5115 GB, free: 21.16 MB / 446.1 MB Notification: Performance of Templates: time 0.006824/0.3915, allocations: 2.451 MB / 0.5139 GB, free: 20.81 MB / 446.1 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.207148718065582]