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.001338/0.001338, allocations: 115.8 kB / 17.74 MB, free: 5.344 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.001426/0.001426, allocations: 185.5 kB / 18.67 MB, free: 4.422 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.362/1.362, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 47.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2702, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006734/0.277, allocations: 4.573 MB / 406 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002952/0.28, allocations: 1.804 MB / 407.8 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003893/0.2804, allocations: 12 kB / 407.8 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007438/0.2812, allocations: 422.2 kB / 408.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007613/0.282, allocations: 421.6 kB / 408.6 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006628/0.2827, allocations: 315.4 kB / 408.9 MB, free: 1.309 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.2837, allocations: 1.02 MB / 409.9 MB, free: 292 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004534/0.2842, allocations: 302.5 kB / 410.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004744/0.2847, allocations: 418.7 kB / 410.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00057/0.2852, allocations: 0.4983 MB / 411.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.2854, allocations: 96 kB / 411.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.2856, allocations: 120 kB / 411.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.2858, allocations: 239.1 kB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003628/0.2862, allocations: 461.6 kB / 412 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.2873, allocations: 1.267 MB / 413.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.2874, allocations: 7.938 kB / 413.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2874, allocations: 0 / 413.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.2874, allocations: 0 / 413.3 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.002177/0.2896, allocations: 1.195 MB / 414.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.2896, allocations: 8.031 kB / 414.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.2898, allocations: 99.72 kB / 414.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008728/0.2907, allocations: 0.5551 MB / 415.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.076e-05/0.2907, allocations: 45.69 kB / 415.2 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.951e-05/0.2908, allocations: 64.12 kB / 415.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.292, allocations: 0.6518 MB / 415.9 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.2921, allocations: 3.906 kB / 415.9 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.009e-05/0.2921, allocations: 24 kB / 416 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.2922, allocations: 12 kB / 416 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.2934, allocations: 0.5594 MB / 416.5 MB, free: 9.574 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00355/0.297, allocations: 2.532 MB / 419.1 MB, free: 6.898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009797/0.298, allocations: 482.4 kB / 419.5 MB, free: 6.422 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007248/0.2987, allocations: 303.5 kB / 419.8 MB, free: 6.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.654e-05/0.2988, allocations: 12.44 kB / 419.8 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.2988, allocations: 35 kB / 419.9 MB, free: 6.066 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.475e-06/0.2988, allocations: 0 / 419.9 MB, free: 6.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004511/0.3033, allocations: 1.488 MB / 421.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.3034, allocations: 59.97 kB / 421.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.3045, allocations: 0.9419 MB / 422.4 MB, free: 3.559 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/0.3045, allocations: 33.7 kB / 422.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/0.3048, allocations: 404 kB / 422.8 MB, free: 3.121 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.305, allocations: 212.9 kB / 423 MB, free: 2.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.3052, allocations: 122.6 kB / 423.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3053, allocations: 326 kB / 423.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005836/0.3059, allocations: 249.9 kB / 423.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006597/0.3066, allocations: 347 kB / 424 MB, free: 1.852 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.3078, allocations: 0.5674 MB / 424.6 MB, free: 1.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3078, allocations: 0 / 424.6 MB, free: 1.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001571/0.3094, allocations: 0.7229 MB / 425.3 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.3094, allocations: 15.88 kB / 425.3 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3094, allocations: 0 / 425.3 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.3095, allocations: 8 kB / 425.3 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000777/0.3102, allocations: 175.7 kB / 425.5 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/0.3103, allocations: 8 kB / 425.5 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005177/0.3108, allocations: 40.03 kB / 425.6 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.3109, allocations: 31.98 kB / 425.6 MB, free: 252 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.0004465/0.3114, allocations: 261.8 kB / 425.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.3115, allocations: 82.91 kB / 425.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/0.313, allocations: 0.6319 MB / 426.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.313, allocations: 4 kB / 426.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.313, allocations: 3.984 kB / 426.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.313, allocations: 0 / 426.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003088/0.3161, allocations: 1.799 MB / 428.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.3161, allocations: 8.25 kB / 428.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005815/0.3167, allocations: 135.8 kB / 428.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/0.3168, allocations: 7.984 kB / 428.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-05/0.3168, allocations: 16 kB / 428.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.3168, allocations: 4 kB / 428.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.3168, allocations: 4 kB / 428.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/0.3183, allocations: 0.7509 MB / 429.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002992/0.3186, allocations: 207.9 kB / 429.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.59e-05/0.3187, allocations: 16 kB / 429.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004421/0.3192, allocations: 39.97 kB / 429.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.3193, allocations: 44.31 kB / 429.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.3193, allocations: 23.94 kB / 429.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008134/0.3201, allocations: 0.6826 MB / 430.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3201, allocations: 4 kB / 430.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005944/0.3207, allocations: 156 kB / 430.4 MB, free: 11.18 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.0008947/0.3216, allocations: 372.9 kB / 430.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00143/0.3231, allocations: 0.5809 MB / 431.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.3231, allocations: 4.562 kB / 431.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006115/0.3237, allocations: 290.2 kB / 431.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008006/0.3245, allocations: 143 kB / 431.8 MB, free: 9.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.3272, allocations: 1.61 MB / 433.4 MB, free: 8.254 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000554/0.3278, allocations: 0.9631 MB / 434.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.328, allocations: 67.41 kB / 434.5 MB, free: 7.191 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.328, allocations: 0 / 434.5 MB, free: 7.191 MB / 350.1 MB Notification: Performance of Templates: time 0.01751/0.3455, allocations: 9.867 MB / 444.3 MB, free: 13.36 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/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