Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001352/0.001353, allocations: 122.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001358, allocations: 197.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.407/1.407, allocations: 227.7 MB / 247.2 MB, free: 10.21 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 67.89 kB / 359 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.272, allocations: 50.54 MB / 409.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008372/0.2804, allocations: 6.544 MB / 416.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004345/0.2847, allocations: 2.377 MB / 418.5 MB, free: 8.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000739/0.2855, allocations: 19.94 kB / 418.5 MB, free: 8.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008719/0.2865, allocations: 357.8 kB / 418.8 MB, free: 8.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.2876, allocations: 0.5238 MB / 419.4 MB, free: 7.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009221/0.2886, allocations: 457.9 kB / 419.8 MB, free: 7.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001705/0.2903, allocations: 1.573 MB / 421.4 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007027/0.291, allocations: 0.5054 MB / 421.9 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007484/0.2917, allocations: 0.5878 MB / 422.5 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008156/0.2926, allocations: 0.6693 MB / 423.1 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002237/0.2928, allocations: 160 kB / 423.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003323/0.2931, allocations: 199.9 kB / 423.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000311/0.2935, allocations: 335 kB / 423.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006766/0.2942, allocations: 0.6804 MB / 424.5 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002133/0.2963, allocations: 1.985 MB / 426.5 MB, free: 444 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2963, allocations: 0 / 426.5 MB, free: 444 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2963, allocations: 3.938 kB / 426.5 MB, free: 440 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.846e-05/0.2964, allocations: 0 / 426.5 MB, free: 440 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002963/0.2993, allocations: 1.576 MB / 428.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2994, allocations: 8.031 kB / 428.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005411/0.2999, allocations: 168.1 kB / 428.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.3012, allocations: 0.747 MB / 429 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.631e-05/0.3013, allocations: 74 kB / 429.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.3014, allocations: 96 kB / 429.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.3034, allocations: 0.9818 MB / 430.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.493e-05/0.3034, allocations: 7.984 kB / 430.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.292e-05/0.3035, allocations: 36 kB / 430.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.748e-05/0.3036, allocations: 27.94 kB / 430.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.3053, allocations: 0.8133 MB / 431 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005618/0.3109, allocations: 3.664 MB / 434.7 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002126/0.3131, allocations: 0.6217 MB / 435.3 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000638/0.3137, allocations: 321.6 kB / 435.6 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.96e-05/0.3138, allocations: 16 kB / 435.6 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.3139, allocations: 51.41 kB / 435.7 MB, free: 6.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.154e-06/0.3139, allocations: 0 / 435.7 MB, free: 6.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.004507/0.3184, allocations: 1.685 MB / 437.4 MB, free: 5.219 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.3185, allocations: 97.03 kB / 437.5 MB, free: 5.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/0.3199, allocations: 1.03 MB / 438.5 MB, free: 4.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.066e-05/0.32, allocations: 37.7 kB / 438.5 MB, free: 4.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004928/0.3205, allocations: 0.5661 MB / 439.1 MB, free: 3.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/0.3207, allocations: 238 kB / 439.3 MB, free: 3.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002925/0.321, allocations: 166.5 kB / 439.5 MB, free: 3.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.3212, allocations: 341.9 kB / 439.8 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008666/0.3221, allocations: 309.8 kB / 440.1 MB, free: 2.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009285/0.323, allocations: 496 kB / 440.6 MB, free: 1.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.3246, allocations: 0.7796 MB / 441.4 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.3246, allocations: 4 kB / 441.4 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002352/0.327, allocations: 0.9685 MB / 442.4 MB, free: 4 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.489e-05/0.3271, allocations: 8.047 kB / 442.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.3271, allocations: 4 kB / 442.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.188e-05/0.3271, allocations: 12 kB / 442.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/0.3288, allocations: 279.8 kB / 442.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.851e-05/0.3288, allocations: 11.94 kB / 442.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.3299, allocations: 55.89 kB / 442.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.559e-05/0.33, allocations: 43.92 kB / 442.8 MB, free: 15.6 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 112 * 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.0004794/0.3305, allocations: 293.5 kB / 443.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.3307, allocations: 111.3 kB / 443.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008167/0.3315, allocations: 346.4 kB / 443.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.3315, allocations: 11.98 kB / 443.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3315, allocations: 3.938 kB / 443.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/0.3315, allocations: 7.938 kB / 443.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003896/0.3354, allocations: 2.297 MB / 445.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.3355, allocations: 4 kB / 445.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008776/0.3363, allocations: 208.3 kB / 446 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.259e-05/0.3364, allocations: 8 kB / 446 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.67e-05/0.3364, allocations: 20 kB / 446.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-05/0.3364, allocations: 19.92 kB / 446.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.3365, allocations: 8 kB / 446.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.3382, allocations: 1.027 MB / 447.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/0.3385, allocations: 200.4 kB / 447.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.3386, allocations: 23.97 kB / 447.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006298/0.3392, allocations: 51.95 kB / 447.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.3394, allocations: 67.69 kB / 447.5 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.008e-05/0.3394, allocations: 32 kB / 447.5 MB, free: 10.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001124/0.3406, allocations: 0.719 MB / 448.2 MB, free: 9.871 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3406, allocations: 0 / 448.2 MB, free: 9.871 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009479/0.3415, allocations: 208 kB / 448.4 MB, free: 9.668 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 simulation (67): * Single equations (assignments): 67 * 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.001511/0.343, allocations: 397.9 kB / 448.8 MB, free: 9.406 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001714/0.3448, allocations: 0.7251 MB / 449.5 MB, free: 8.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.3448, allocations: 5.312 kB / 449.5 MB, free: 8.676 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007957/0.3456, allocations: 355.8 kB / 449.9 MB, free: 8.328 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.3468, allocations: 216.7 kB / 450.1 MB, free: 8.117 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003302/0.3501, allocations: 1.958 MB / 452 MB, free: 6.043 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006996/0.3508, allocations: 1.037 MB / 453.1 MB, free: 4.977 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005068/0.3514, allocations: 131.5 kB / 453.2 MB, free: 4.844 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.3516, allocations: 75.42 kB / 453.3 MB, free: 4.77 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3516, allocations: 3.938 kB / 453.3 MB, free: 4.766 MB / 366.1 MB Notification: Performance of Templates: time 0.02291/0.3745, allocations: 11.14 MB / 464.4 MB, free: 9.762 MB / 382.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches