Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 112.8 kB / 17.06 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009728/0.0009732, allocations: 196 kB / 18 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008706/0.0008706, allocations: 47.92 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2587, allocations: 49.43 MB / 400.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005374/0.2641, allocations: 4.583 MB / 405.3 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002388/0.2665, allocations: 1.8 MB / 407.1 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.2668, allocations: 11.94 kB / 407.1 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006374/0.2674, allocations: 422.2 kB / 407.5 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000651/0.2681, allocations: 421.6 kB / 407.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005403/0.2686, allocations: 318.1 kB / 408.2 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008843/0.2695, allocations: 1.017 MB / 409.3 MB, free: 300 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003797/0.2699, allocations: 310.5 kB / 409.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000348/0.2703, allocations: 398.8 kB / 410 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004996/0.2708, allocations: 0.5061 MB / 410.5 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.2709, allocations: 96 kB / 410.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.2711, allocations: 120 kB / 410.7 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001832/0.2713, allocations: 239.1 kB / 410.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003437/0.2717, allocations: 461.6 kB / 411.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.2727, allocations: 1.276 MB / 412.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.2728, allocations: 3.938 kB / 412.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2728, allocations: 0 / 412.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.2728, allocations: 4 kB / 412.6 MB, free: 12.89 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001988/0.2748, allocations: 1.226 MB / 413.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.2748, allocations: 8.031 kB / 413.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.275, allocations: 104.3 kB / 414 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007994/0.2758, allocations: 0.5596 MB / 414.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/0.2758, allocations: 45.69 kB / 414.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.031e-05/0.2759, allocations: 64.12 kB / 414.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.2771, allocations: 0.6479 MB / 415.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.2771, allocations: 7.938 kB / 415.3 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.748e-05/0.2772, allocations: 28 kB / 415.3 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.2772, allocations: 12 kB / 415.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.2784, allocations: 0.5556 MB / 415.9 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003339/0.2818, allocations: 2.533 MB / 418.4 MB, free: 6.859 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009361/0.2827, allocations: 474.5 kB / 418.9 MB, free: 6.391 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007149/0.2835, allocations: 307.4 kB / 419.2 MB, free: 6.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.435e-05/0.2835, allocations: 8.422 kB / 419.2 MB, free: 6.082 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.2836, allocations: 46.94 kB / 419.2 MB, free: 6.023 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 1.603e-06/0.2836, allocations: 0 / 419.2 MB, free: 6.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004287/0.2879, allocations: 1.509 MB / 420.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.2879, allocations: 59.97 kB / 420.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009775/0.2889, allocations: 0.9341 MB / 421.7 MB, free: 3.504 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.2889, allocations: 37.7 kB / 421.8 MB, free: 3.461 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/0.2892, allocations: 412.7 kB / 422.2 MB, free: 3.055 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.2894, allocations: 218.1 kB / 422.4 MB, free: 2.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/0.2896, allocations: 118.6 kB / 422.5 MB, free: 2.719 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.97e-05/0.2897, allocations: 330 kB / 422.8 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005997/0.2903, allocations: 245.9 kB / 423.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006536/0.2909, allocations: 351 kB / 423.4 MB, free: 1.781 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.2922, allocations: 0.5635 MB / 424 MB, free: 1.184 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2922, allocations: 0 / 424 MB, free: 1.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001487/0.2937, allocations: 0.735 MB / 424.7 MB, free: 452 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.2937, allocations: 15.88 kB / 424.7 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.2937, allocations: 0 / 424.7 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.2938, allocations: 4 kB / 424.7 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000749/0.2945, allocations: 171.9 kB / 424.9 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.2945, allocations: 15.92 kB / 424.9 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004771/0.295, allocations: 35.97 kB / 425 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.845e-05/0.2951, allocations: 27.98 kB / 425 MB, free: 180 kB / 334.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 (83): * Single equations (assignments): 83 * 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.000322/0.2954, allocations: 265.7 kB / 425.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.2955, allocations: 87.36 kB / 425.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.297, allocations: 0.6358 MB / 426 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.297, allocations: 4 kB / 426 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.297, allocations: 3.938 kB / 426 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.2971, allocations: 3.984 kB / 426 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00281/0.2999, allocations: 1.803 MB / 427.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.2999, allocations: 7.938 kB / 427.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005547/0.3005, allocations: 127.8 kB / 427.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-06/0.3005, allocations: 4 kB / 427.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/0.3005, allocations: 19.98 kB / 427.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.3005, allocations: 7.938 kB / 427.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3005, allocations: 4 kB / 427.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.3018, allocations: 0.7475 MB / 428.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/0.302, allocations: 212.4 kB / 428.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.3021, allocations: 23.94 kB / 428.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004336/0.3026, allocations: 35.97 kB / 429 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.3027, allocations: 44.38 kB / 429 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/0.3027, allocations: 27.88 kB / 429 MB, free: 11.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007519/0.3035, allocations: 0.6826 MB / 429.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3035, allocations: 4 kB / 429.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004881/0.304, allocations: 152 kB / 429.9 MB, free: 11.09 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 (61): * Single equations (assignments): 61 * 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.0008122/0.3048, allocations: 366.9 kB / 430.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001394/0.3062, allocations: 0.5891 MB / 430.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.3062, allocations: 4 kB / 430.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006051/0.3069, allocations: 290.2 kB / 431.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007198/0.3076, allocations: 135.4 kB / 431.2 MB, free: 9.848 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.3099, allocations: 1.591 MB / 432.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/0.3104, allocations: 0.963 MB / 433.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003366/0.3107, allocations: 93.05 kB / 433.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.3109, allocations: 55.42 kB / 433.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3109, allocations: 0 / 433.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of Templates: time 0.0129/0.3238, allocations: 7.788 MB / 441.7 MB, free: 15.34 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches