Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=5000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001731/0.001731, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002258/0.002258, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 59.89 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2522, allocations: 50.54 MB / 409.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006463/0.2587, allocations: 4.661 MB / 413.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00339/0.2621, allocations: 1.971 MB / 415.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004804/0.2626, allocations: 11.94 kB / 415.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007975/0.2634, allocations: 438.2 kB / 416.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009116/0.2644, allocations: 465.5 kB / 416.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006685/0.2651, allocations: 319.5 kB / 417.1 MB, free: 9.727 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009535/0.266, allocations: 1.036 MB / 418.1 MB, free: 8.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004026/0.2664, allocations: 310.5 kB / 418.4 MB, free: 8.371 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000456/0.2669, allocations: 422.7 kB / 418.8 MB, free: 7.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005209/0.2674, allocations: 0.506 MB / 419.3 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.2675, allocations: 96 kB / 419.4 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.2678, allocations: 143.9 kB / 419.6 MB, free: 7.215 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001978/0.268, allocations: 235.2 kB / 419.8 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003756/0.2683, allocations: 469.5 kB / 420.3 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.2695, allocations: 1.305 MB / 421.6 MB, free: 5.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2695, allocations: 0 / 421.6 MB, free: 5.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2695, allocations: 0 / 421.6 MB, free: 5.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.2695, allocations: 0 / 421.6 MB, free: 5.219 MB / 334.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.002033/0.2716, allocations: 1.195 MB / 422.8 MB, free: 3.969 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.2716, allocations: 16.03 kB / 422.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004726/0.2721, allocations: 123.8 kB / 422.9 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008868/0.273, allocations: 0.579 MB / 423.5 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.042e-05/0.273, allocations: 45.31 kB / 423.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.2731, allocations: 67.91 kB / 423.6 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.2742, allocations: 0.6322 MB / 424.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.2743, allocations: 0 / 424.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.707e-05/0.2743, allocations: 24 kB / 424.2 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.2744, allocations: 19.94 kB / 424.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.2754, allocations: 0.5243 MB / 424.8 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003493/0.2789, allocations: 2.532 MB / 427.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008509/0.2798, allocations: 476.3 kB / 427.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005947/0.2804, allocations: 289 kB / 428.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.795e-05/0.2805, allocations: 12.42 kB / 428.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.2805, allocations: 39 kB / 428.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.664e-06/0.2805, allocations: 0 / 428.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.003939/0.2845, allocations: 1.442 MB / 429.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.2845, allocations: 59.97 kB / 429.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.2856, allocations: 0.9537 MB / 430.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.757e-05/0.2857, allocations: 37.7 kB / 430.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000284/0.286, allocations: 419.9 kB / 431 MB, free: 11.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.2861, allocations: 216.8 kB / 431.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.2863, allocations: 118.6 kB / 431.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.2864, allocations: 334 kB / 431.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004967/0.2869, allocations: 225.9 kB / 431.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005743/0.2875, allocations: 335 kB / 432.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.2886, allocations: 0.5401 MB / 432.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2886, allocations: 4 kB / 432.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001332/0.2899, allocations: 0.7033 MB / 433.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.29, allocations: 12.03 kB / 433.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.29, allocations: 0 / 433.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.29, allocations: 8 kB / 433.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007224/0.2907, allocations: 171.7 kB / 433.7 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.2907, allocations: 4 kB / 433.7 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005031/0.2912, allocations: 35.97 kB / 433.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.72e-05/0.2913, allocations: 20 kB / 433.7 MB, free: 8.684 MB / 350.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.0003172/0.2916, allocations: 285.5 kB / 434 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.2918, allocations: 78.97 kB / 434.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.2931, allocations: 0.6165 MB / 434.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.2931, allocations: 4 kB / 434.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.2931, allocations: 8 kB / 434.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.2931, allocations: 3.984 kB / 434.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002662/0.2958, allocations: 1.788 MB / 436.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.2958, allocations: 4.062 kB / 436.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005326/0.2963, allocations: 127.8 kB / 436.6 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.2963, allocations: 4 kB / 436.6 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.2964, allocations: 16 kB / 436.6 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.2964, allocations: 7.938 kB / 436.6 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.2964, allocations: 7.984 kB / 436.7 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.2975, allocations: 0.7237 MB / 437.4 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002528/0.2978, allocations: 204 kB / 437.6 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.114e-05/0.2979, allocations: 16 kB / 437.6 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003985/0.2983, allocations: 27.97 kB / 437.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.2984, allocations: 56.25 kB / 437.7 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.2984, allocations: 23.94 kB / 437.7 MB, free: 4.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000807/0.2993, allocations: 0.6982 MB / 438.4 MB, free: 3.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2993, allocations: 0 / 438.4 MB, free: 3.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005411/0.2998, allocations: 156 kB / 438.5 MB, free: 3.637 MB / 350.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.0008523/0.3007, allocations: 369.2 kB / 438.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.3018, allocations: 0.5537 MB / 439.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3019, allocations: 0 / 439.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005252/0.3024, allocations: 275.4 kB / 439.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007518/0.3031, allocations: 146.3 kB / 439.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/0.3057, allocations: 1.589 MB / 441.5 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000615/0.3064, allocations: 0.967 MB / 442.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003486/0.3067, allocations: 101.2 kB / 442.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.3069, allocations: 51.42 kB / 442.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3069, allocations: 0 / 442.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of Templates: time 0.01514/0.3221, allocations: 8.063 MB / 450.6 MB, free: 7.625 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches