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.001326/0.001326, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001474/0.001474, allocations: 204.1 kB / 24.47 MB, free: 4.023 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.521/1.521, allocations: 230.4 MB / 258.1 MB, free: 8.133 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.002062/0.002062, allocations: 71.83 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2996, allocations: 53.31 MB / 432 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008929/0.3085, allocations: 6.604 MB / 438.6 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004711/0.3132, allocations: 2.412 MB / 441.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007926/0.314, allocations: 16 kB / 441.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009157/0.3149, allocations: 365.7 kB / 441.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001526/0.3164, allocations: 0.5413 MB / 442 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.3175, allocations: 443.3 kB / 442.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002083/0.3195, allocations: 1.569 MB / 444 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006569/0.3202, allocations: 357.6 kB / 444.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008986/0.3211, allocations: 0.5918 MB / 444.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008784/0.322, allocations: 0.6886 MB / 445.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001932/0.3222, allocations: 160 kB / 445.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000318/0.3225, allocations: 196 kB / 446 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003018/0.3228, allocations: 330.9 kB / 446.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006891/0.3235, allocations: 0.6804 MB / 447 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002285/0.3258, allocations: 1.989 MB / 448.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3258, allocations: 4 kB / 449 MB, free: 6.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3258, allocations: 0 / 449 MB, free: 6.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.377e-05/0.3258, allocations: 0 / 449 MB, free: 6.371 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.003184/0.329, allocations: 1.576 MB / 450.5 MB, free: 4.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.329, allocations: 8.031 kB / 450.5 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005508/0.3296, allocations: 164.1 kB / 450.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.3309, allocations: 0.7392 MB / 451.4 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.699e-05/0.3309, allocations: 74 kB / 451.5 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.3311, allocations: 96 kB / 451.6 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.3329, allocations: 0.9818 MB / 452.6 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/0.333, allocations: 7.938 kB / 452.6 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.285e-05/0.3331, allocations: 43.94 kB / 452.6 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/0.3331, allocations: 24 kB / 452.7 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/0.3348, allocations: 0.8133 MB / 453.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005811/0.3406, allocations: 3.664 MB / 457.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/0.3428, allocations: 0.5945 MB / 457.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000626/0.3434, allocations: 290.5 kB / 458 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.714e-05/0.3434, allocations: 15.97 kB / 458 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.3435, allocations: 47.47 kB / 458.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.425e-06/0.3435, allocations: 4 kB / 458.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.00454/0.348, allocations: 1.675 MB / 459.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.049e-05/0.3481, allocations: 97.05 kB / 459.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.3495, allocations: 1.038 MB / 460.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.928e-05/0.3496, allocations: 33.7 kB / 460.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004739/0.3501, allocations: 0.5661 MB / 461.5 MB, free: 9.453 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/0.3503, allocations: 238 kB / 461.7 MB, free: 9.219 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000275/0.3505, allocations: 162.6 kB / 461.9 MB, free: 9.055 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.3507, allocations: 341.9 kB / 462.2 MB, free: 8.715 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008764/0.3516, allocations: 313.8 kB / 462.5 MB, free: 8.406 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009722/0.3526, allocations: 499.2 kB / 463 MB, free: 7.844 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001654/0.3542, allocations: 0.7834 MB / 463.8 MB, free: 6.992 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3542, allocations: 0 / 463.8 MB, free: 6.992 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002193/0.3564, allocations: 0.9725 MB / 464.8 MB, free: 6.012 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.3564, allocations: 8 kB / 464.8 MB, free: 6.004 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.3564, allocations: 4 kB / 464.8 MB, free: 6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.3565, allocations: 8 kB / 464.8 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.3577, allocations: 279.8 kB / 465.1 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.06e-05/0.3577, allocations: 15.94 kB / 465.1 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007797/0.3585, allocations: 55.83 kB / 465.1 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-05/0.3586, allocations: 35.98 kB / 465.2 MB, free: 5.613 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.0004755/0.359, allocations: 295.5 kB / 465.4 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.3592, allocations: 107.3 kB / 465.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008727/0.3601, allocations: 346.8 kB / 465.9 MB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.3601, allocations: 4 kB / 465.9 MB, free: 4.859 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.3601, allocations: 7.984 kB / 465.9 MB, free: 4.852 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.3601, allocations: 7.922 kB / 465.9 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004143/0.3643, allocations: 2.297 MB / 468.2 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.3643, allocations: 8 kB / 468.2 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000907/0.3652, allocations: 208.1 kB / 468.4 MB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-05/0.3652, allocations: 12 kB / 468.4 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.658e-05/0.3653, allocations: 23.98 kB / 468.5 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.435e-05/0.3653, allocations: 11.94 kB / 468.5 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.3653, allocations: 8 kB / 468.5 MB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.3671, allocations: 1.038 MB / 469.5 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002952/0.3674, allocations: 196.4 kB / 469.7 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.3676, allocations: 20 kB / 469.7 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006461/0.3682, allocations: 51.95 kB / 469.8 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.3683, allocations: 67.69 kB / 469.8 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.776e-05/0.3684, allocations: 31.98 kB / 469.9 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001078/0.3694, allocations: 0.7151 MB / 470.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3694, allocations: 0 / 470.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008944/0.3703, allocations: 216 kB / 470.8 MB, free: 15.68 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.001441/0.3718, allocations: 378.2 kB / 471.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001851/0.3736, allocations: 0.6939 MB / 471.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.3736, allocations: 1.312 kB / 471.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008122/0.3745, allocations: 352 kB / 472.2 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.3758, allocations: 223.1 kB / 472.4 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003702/0.3795, allocations: 1.966 MB / 474.4 MB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007712/0.3802, allocations: 1.037 MB / 475.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005909/0.3808, allocations: 127.6 kB / 475.5 MB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.381, allocations: 75.41 kB / 475.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of SimCode: time 1.242e-06/0.381, allocations: 0 / 475.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of Templates: time 0.02296/0.404, allocations: 11.46 MB / 487.1 MB, free: 15.52 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 -s cvode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 5.2184241260401905]