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.001276/0.001276, allocations: 119.3 kB / 21.18 MB, free: 0.6289 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.001396/0.001396, allocations: 206.8 kB / 24.46 MB, free: 3.902 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.402/1.402, allocations: 230.4 MB / 258.1 MB, free: 8.156 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.001904/0.001904, allocations: 67.84 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2457, allocations: 53.32 MB / 432 MB, free: 7.234 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008514/0.2542, allocations: 6.606 MB / 438.7 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004342/0.2586, allocations: 2.392 MB / 441 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005488/0.2591, allocations: 19.94 kB / 441.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007728/0.2599, allocations: 369.7 kB / 441.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001158/0.261, allocations: 0.5433 MB / 442 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008934/0.2619, allocations: 447.3 kB / 442.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001773/0.2637, allocations: 1.565 MB / 444 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00058/0.2643, allocations: 359.2 kB / 444.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008781/0.2652, allocations: 0.5918 MB / 444.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008806/0.266, allocations: 0.6887 MB / 445.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001929/0.2662, allocations: 160 kB / 445.8 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003085/0.2665, allocations: 192 kB / 445.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003149/0.2669, allocations: 338.9 kB / 446.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006354/0.2675, allocations: 0.6843 MB / 447 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002097/0.2696, allocations: 1.985 MB / 448.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2696, allocations: 0 / 448.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2696, allocations: 0 / 448.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.2696, allocations: 0 / 448.9 MB, free: 6.246 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.00305/0.2727, allocations: 1.58 MB / 450.5 MB, free: 4.613 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.2727, allocations: 8.031 kB / 450.5 MB, free: 4.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005446/0.2732, allocations: 164.1 kB / 450.7 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.2745, allocations: 0.7431 MB / 451.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.505e-05/0.2746, allocations: 77.94 kB / 451.5 MB, free: 3.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.2747, allocations: 96 kB / 451.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.2766, allocations: 0.9818 MB / 452.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/0.2766, allocations: 0 / 452.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.741e-05/0.2767, allocations: 40 kB / 452.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.2767, allocations: 24 kB / 452.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.2785, allocations: 0.821 MB / 453.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005468/0.2839, allocations: 3.656 MB / 457.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002048/0.286, allocations: 0.5937 MB / 457.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006275/0.2866, allocations: 301.7 kB / 458 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.464e-05/0.2867, allocations: 11.94 kB / 458 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/0.2867, allocations: 51.45 kB / 458.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.234e-06/0.2867, allocations: 0 / 458.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004575/0.2913, allocations: 1.687 MB / 459.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.675e-05/0.2914, allocations: 85.11 kB / 459.8 MB, free: 11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.2928, allocations: 1.034 MB / 460.9 MB, free: 9.945 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.052e-05/0.2929, allocations: 41.69 kB / 460.9 MB, free: 9.898 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004697/0.2934, allocations: 0.5622 MB / 461.5 MB, free: 9.328 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000211/0.2936, allocations: 242 kB / 461.7 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002741/0.2939, allocations: 162.6 kB / 461.9 MB, free: 8.926 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.294, allocations: 345.9 kB / 462.2 MB, free: 8.582 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007847/0.2948, allocations: 305.8 kB / 462.5 MB, free: 8.281 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009213/0.2957, allocations: 0.4953 MB / 463 MB, free: 7.711 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.2973, allocations: 0.7757 MB / 463.8 MB, free: 6.867 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.2974, allocations: 4 kB / 463.8 MB, free: 6.863 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00214/0.2995, allocations: 0.9684 MB / 464.8 MB, free: 5.887 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.2995, allocations: 8 kB / 464.8 MB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.2995, allocations: 4 kB / 464.8 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.2995, allocations: 12 kB / 464.8 MB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.3008, allocations: 275.9 kB / 465.1 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.8e-05/0.3008, allocations: 15.92 kB / 465.1 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007719/0.3016, allocations: 55.89 kB / 465.1 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.431e-05/0.3016, allocations: 39.98 kB / 465.2 MB, free: 5.484 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.0004513/0.3021, allocations: 291.2 kB / 465.4 MB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.3023, allocations: 115.3 kB / 465.6 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008044/0.3031, allocations: 346.8 kB / 465.9 MB, free: 4.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.3031, allocations: 8 kB / 465.9 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.3031, allocations: 4 kB / 465.9 MB, free: 4.719 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.3031, allocations: 7.922 kB / 465.9 MB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00389/0.307, allocations: 2.286 MB / 468.2 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.307, allocations: 4 kB / 468.2 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008918/0.3079, allocations: 220.4 kB / 468.4 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/0.3079, allocations: 8 kB / 468.4 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.726e-05/0.308, allocations: 23.98 kB / 468.5 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/0.308, allocations: 12 kB / 468.5 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.677e-05/0.308, allocations: 11.94 kB / 468.5 MB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.3097, allocations: 1.031 MB / 469.5 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002918/0.31, allocations: 200.4 kB / 469.7 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.3101, allocations: 16 kB / 469.7 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006186/0.3107, allocations: 51.95 kB / 469.8 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.3109, allocations: 67.75 kB / 469.8 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-05/0.3109, allocations: 31.98 kB / 469.9 MB, free: 0.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000961/0.3119, allocations: 0.7112 MB / 470.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3119, allocations: 3.938 kB / 470.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007991/0.3127, allocations: 212 kB / 470.8 MB, free: 15.56 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.001282/0.3139, allocations: 390.6 kB / 471.2 MB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001698/0.3156, allocations: 0.6909 MB / 471.9 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3156, allocations: 320 / 471.9 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007864/0.3164, allocations: 353.1 kB / 472.2 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.3176, allocations: 228.8 kB / 472.4 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/0.3211, allocations: 2.007 MB / 474.4 MB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007119/0.3218, allocations: 1.041 MB / 475.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/0.3221, allocations: 83.41 kB / 475.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3221, allocations: 0 / 475.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of Templates: time 0.01965/0.3417, allocations: 13.55 MB / 489.1 MB, free: 13.3 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_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: 8.260299724061042]