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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.007306/0.007306, allocations: 106.6 kB / 21.98 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001892/0.001892, allocations: 216.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.439/1.439, allocations: 230.6 MB / 259 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] 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] "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.00198/0.00198, allocations: 67.89 kB / 379.8 MB, free: 2.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2747, allocations: 53.36 MB / 433.2 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008971/0.2837, allocations: 6.617 MB / 439.8 MB, free: 328 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004784/0.2885, allocations: 2.404 MB / 442.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000893/0.2894, allocations: 23.88 kB / 442.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009363/0.2903, allocations: 369.7 kB / 442.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.2917, allocations: 0.5394 MB / 443.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.2928, allocations: 454.2 kB / 443.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001979/0.2947, allocations: 1.569 MB / 445.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005935/0.2953, allocations: 354 kB / 445.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009182/0.2963, allocations: 0.6035 MB / 446.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009174/0.2972, allocations: 0.6887 MB / 446.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002124/0.2974, allocations: 160 kB / 446.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003313/0.2977, allocations: 192 kB / 447.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002958/0.298, allocations: 338.9 kB / 447.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006608/0.2987, allocations: 0.6804 MB / 448.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00217/0.3008, allocations: 1.984 MB / 450.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3008, allocations: 0 / 450.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3009, allocations: 0 / 450.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.954e-05/0.3009, allocations: 0 / 450.1 MB, free: 5.953 MB / 350.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.003125/0.304, allocations: 1.501 MB / 451.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3041, allocations: 12.03 kB / 451.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005658/0.3046, allocations: 168.1 kB / 451.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.306, allocations: 0.6774 MB / 452.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.489e-05/0.306, allocations: 74 kB / 452.5 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.3062, allocations: 96 kB / 452.6 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.3081, allocations: 0.9857 MB / 453.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.3081, allocations: 0 / 453.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.195e-05/0.3082, allocations: 43.98 kB / 453.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/0.3082, allocations: 24 kB / 453.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001802/0.31, allocations: 0.8172 MB / 454.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006025/0.3161, allocations: 3.565 MB / 458.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002004/0.3181, allocations: 0.5906 MB / 458.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006083/0.3187, allocations: 285.6 kB / 458.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.803e-05/0.3187, allocations: 12 kB / 458.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.3188, allocations: 51.41 kB / 459 MB, free: 12.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 4.548e-06/0.3188, allocations: 3.984 kB / 459 MB, free: 12.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004463/0.3232, allocations: 1.685 MB / 460.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/0.3233, allocations: 93.05 kB / 460.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/0.3248, allocations: 1.034 MB / 461.8 MB, free: 9.922 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.095e-05/0.3248, allocations: 37.7 kB / 461.8 MB, free: 9.879 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000459/0.3253, allocations: 0.5623 MB / 462.4 MB, free: 9.309 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.3255, allocations: 242 kB / 462.6 MB, free: 9.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002692/0.3258, allocations: 166.5 kB / 462.8 MB, free: 8.902 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3259, allocations: 349.9 kB / 463.1 MB, free: 8.555 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007535/0.3267, allocations: 301.8 kB / 463.4 MB, free: 8.258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000895/0.3276, allocations: 0.4921 MB / 463.9 MB, free: 7.695 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.3291, allocations: 0.7717 MB / 464.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.3291, allocations: 4 kB / 464.7 MB, free: 6.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002129/0.3313, allocations: 0.9669 MB / 465.7 MB, free: 5.875 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.3313, allocations: 8 kB / 465.7 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.3313, allocations: 4 kB / 465.7 MB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.3313, allocations: 12 kB / 465.7 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.3325, allocations: 283.9 kB / 466 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.005e-05/0.3326, allocations: 11.94 kB / 466 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008429/0.3334, allocations: 55.88 kB / 466 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.358e-05/0.3335, allocations: 36 kB / 466.1 MB, free: 5.473 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.000462/0.3339, allocations: 289.6 kB / 466.4 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.3341, allocations: 115.3 kB / 466.5 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008719/0.335, allocations: 346.4 kB / 466.8 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.335, allocations: 8 kB / 466.8 MB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.335, allocations: 7.938 kB / 466.8 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.335, allocations: 7.922 kB / 466.8 MB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004137/0.3391, allocations: 2.249 MB / 469.1 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/0.3392, allocations: 12 kB / 469.1 MB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008684/0.34, allocations: 208.4 kB / 469.3 MB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/0.34, allocations: 8 kB / 469.3 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/0.3401, allocations: 20 kB / 469.3 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.38e-05/0.3401, allocations: 19.86 kB / 469.3 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/0.3401, allocations: 11.98 kB / 469.3 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.3419, allocations: 1.041 MB / 470.4 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002849/0.3422, allocations: 115.3 kB / 470.5 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.3423, allocations: 23.98 kB / 470.5 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006452/0.343, allocations: 51.95 kB / 470.6 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.3431, allocations: 75.66 kB / 470.7 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-05/0.3431, allocations: 24 kB / 470.7 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00108/0.3442, allocations: 0.7229 MB / 471.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3442, allocations: 3.938 kB / 471.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008506/0.3451, allocations: 208 kB / 471.6 MB, free: 15.67 MB / 382.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.001349/0.3464, allocations: 380 kB / 472 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001777/0.3482, allocations: 0.699 MB / 472.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.3482, allocations: 4 kB / 472.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008121/0.349, allocations: 341.4 kB / 473 MB, free: 14.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.3503, allocations: 223.1 kB / 473.2 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/0.3539, allocations: 2.005 MB / 475.2 MB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007287/0.3547, allocations: 1.041 MB / 476.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003278/0.355, allocations: 83.41 kB / 476.4 MB, free: 10.9 MB / 382.1 MB Notification: Performance of SimCode: time 1.613e-06/0.355, allocations: 0 / 476.4 MB, free: 10.9 MB / 382.1 MB Notification: Performance of Templates: time 0.02296/0.3779, allocations: 13.54 MB / 489.9 MB, free: 13.43 MB / 398.1 MB " [Timeout remaining time 660] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.884900549892336]