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.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=160000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=160000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001289/0.001288, allocations: 109.9 kB / 18.3 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001328/0.001328, allocations: 207.8 kB / 19.25 MB, free: 3.938 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.423/1.423, allocations: 227.7 MB / 247.7 MB, free: 10.36 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.001967/0.001967, allocations: 60.72 kB / 307.9 MB, free: 0.4961 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09426/0.09623, allocations: 50.54 MB / 358.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006727/0.103, allocations: 4.646 MB / 363.1 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003348/0.1064, allocations: 1.987 MB / 365.1 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002781/0.1067, allocations: 11.94 kB / 365.1 MB, free: 7.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007446/0.1074, allocations: 426.2 kB / 365.5 MB, free: 6.832 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008677/0.1083, allocations: 465.4 kB / 366 MB, free: 6.375 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006543/0.109, allocations: 330.8 kB / 366.3 MB, free: 6.055 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001085/0.1101, allocations: 1.036 MB / 367.3 MB, free: 5.016 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000432/0.1105, allocations: 298.5 kB / 367.6 MB, free: 4.719 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005196/0.111, allocations: 418.7 kB / 368 MB, free: 4.309 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005888/0.1116, allocations: 0.5021 MB / 368.5 MB, free: 3.805 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.1118, allocations: 100 kB / 368.6 MB, free: 3.707 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002404/0.112, allocations: 136 kB / 368.8 MB, free: 3.574 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002357/0.1123, allocations: 239.2 kB / 369 MB, free: 3.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004285/0.1127, allocations: 469.6 kB / 369.4 MB, free: 2.879 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.114, allocations: 1.289 MB / 370.7 MB, free: 1.586 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.114, allocations: 4 kB / 370.7 MB, free: 1.582 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.114, allocations: 0 / 370.7 MB, free: 1.582 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.114, allocations: 3.938 kB / 370.7 MB, free: 1.578 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002178/0.1162, allocations: 1.207 MB / 371.9 MB, free: 328 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1162, allocations: 11.97 kB / 372 MB, free: 316 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000495/0.1167, allocations: 131.7 kB / 372.1 MB, free: 184 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1298/0.2465, allocations: 0.5565 MB / 372.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.2467, allocations: 49.31 kB / 372.7 MB, free: 19.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.2468, allocations: 58.78 kB / 372.8 MB, free: 19.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.248, allocations: 0.6373 MB / 373.4 MB, free: 19.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.248, allocations: 1.484 kB / 373.4 MB, free: 19.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-05/0.2481, allocations: 25.75 kB / 373.4 MB, free: 19.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.2481, allocations: 18.38 kB / 373.4 MB, free: 19.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.2493, allocations: 0.5294 MB / 374 MB, free: 19.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003596/0.2529, allocations: 2.544 MB / 376.5 MB, free: 17.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008703/0.2537, allocations: 472.2 kB / 377 MB, free: 17.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000569/0.2543, allocations: 289.9 kB / 377.2 MB, free: 17.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.02e-05/0.2544, allocations: 8.375 kB / 377.3 MB, free: 17.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.2544, allocations: 41.69 kB / 377.3 MB, free: 17.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=50): time 2.475e-06/0.2544, allocations: 0 / 377.3 MB, free: 17.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.004159/0.2586, allocations: 1.441 MB / 378.7 MB, free: 17.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.2586, allocations: 59.31 kB / 378.8 MB, free: 16.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.2597, allocations: 0.975 MB / 379.8 MB, free: 16.58 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.2598, allocations: 35.41 kB / 379.8 MB, free: 16.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000244/0.26, allocations: 405.8 kB / 380.2 MB, free: 16.22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.2602, allocations: 209 kB / 380.4 MB, free: 16.06 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.2604, allocations: 123.3 kB / 380.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.943e-05/0.2604, allocations: 336.1 kB / 380.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005291/0.261, allocations: 234.1 kB / 381.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005774/0.2616, allocations: 326.5 kB / 381.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009947/0.2626, allocations: 0.5468 MB / 382 MB, free: 15.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2626, allocations: 1.859 kB / 382 MB, free: 15.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001349/0.2639, allocations: 0.7068 MB / 382.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.264, allocations: 5.531 kB / 382.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.264, allocations: 5.969 kB / 382.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.264, allocations: 6.719 kB / 382.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007442/0.2648, allocations: 173.3 kB / 382.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.2648, allocations: 7.906 kB / 382.9 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005409/0.2653, allocations: 37.31 kB / 382.9 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.594e-05/0.2654, allocations: 28.05 kB / 382.9 MB, free: 14.76 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 85 * 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.0003086/0.2657, allocations: 266.6 kB / 383.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.2658, allocations: 81.97 kB / 383.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.2671, allocations: 0.608 MB / 383.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.2671, allocations: 6.969 kB / 383.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2671, allocations: 1.375 kB / 383.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.2671, allocations: 6.984 kB / 383.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002613/0.2697, allocations: 1.789 MB / 385.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.2698, allocations: 3.656 kB / 385.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005345/0.2703, allocations: 134.7 kB / 385.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.2703, allocations: 5.844 kB / 385.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.2704, allocations: 14.8 kB / 385.8 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/0.2704, allocations: 12.95 kB / 385.8 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.2704, allocations: 7.094 kB / 385.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.2715, allocations: 0.7211 MB / 386.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002231/0.2717, allocations: 205.2 kB / 386.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-05/0.2718, allocations: 14.27 kB / 386.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004206/0.2722, allocations: 30.64 kB / 386.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.208e-05/0.2723, allocations: 49.88 kB / 386.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.2724, allocations: 20.38 kB / 386.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007866/0.2732, allocations: 0.7043 MB / 387.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2732, allocations: 3.281 kB / 387.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005743/0.2738, allocations: 156.5 kB / 387.7 MB, free: 12.2 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.001191/0.275, allocations: 380.3 kB / 388.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.2763, allocations: 0.5859 MB / 388.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.2763, allocations: 0.9375 kB / 388.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005031/0.2769, allocations: 280.4 kB / 389 MB, free: 11.74 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000823/0.2777, allocations: 142.6 kB / 389.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.2799, allocations: 1.65 MB / 390.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/0.2804, allocations: 0.9736 MB / 391.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.2806, allocations: 57.89 kB / 391.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2806, allocations: 0 / 391.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of Templates: time 0.01218/0.2928, allocations: 10.06 MB / 401.9 MB, free: 2.844 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches