Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001297/0.001297, allocations: 101.5 kB / 18.39 MB, free: 4.699 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.00101/0.00101, allocations: 187.1 kB / 19.33 MB, free: 3.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 47.94 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08258/0.08384, allocations: 46.62 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006039/0.08991, allocations: 4.514 MB / 380.3 MB, free: 60 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1798/0.2697, allocations: 1.734 MB / 382.1 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006588/0.2704, allocations: 12.62 kB / 382.1 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009939/0.2715, allocations: 425.2 kB / 382.5 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001201/0.2727, allocations: 426 kB / 382.9 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008538/0.2736, allocations: 301 kB / 383.2 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001426/0.275, allocations: 1.018 MB / 384.2 MB, free: 9.262 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004259/0.2754, allocations: 303.6 kB / 384.5 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000621/0.2761, allocations: 411.5 kB / 384.9 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006107/0.2767, allocations: 0.5039 MB / 385.4 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.2768, allocations: 97.28 kB / 385.5 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002553/0.2771, allocations: 124.3 kB / 385.6 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002138/0.2773, allocations: 237 kB / 385.9 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000348/0.2777, allocations: 461.9 kB / 386.3 MB, free: 8.328 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.2791, allocations: 1.27 MB / 387.6 MB, free: 7.879 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2791, allocations: 1.438 kB / 387.6 MB, free: 7.879 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.2791, allocations: 1.688 kB / 387.6 MB, free: 7.879 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.32e-05/0.2792, allocations: 3.938 kB / 387.6 MB, free: 7.875 MB / 318.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.002146/0.2813, allocations: 1.198 MB / 388.8 MB, free: 7.055 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.2814, allocations: 9.656 kB / 388.8 MB, free: 7.055 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.2815, allocations: 99.09 kB / 388.9 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008545/0.2824, allocations: 0.5547 MB / 389.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.168e-05/0.2825, allocations: 47.31 kB / 389.5 MB, free: 6.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.2826, allocations: 64.42 kB / 389.6 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.2838, allocations: 0.6386 MB / 390.2 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.2838, allocations: 13.2 kB / 390.2 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.802e-05/0.2839, allocations: 25.41 kB / 390.2 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.2839, allocations: 14.19 kB / 390.2 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.2852, allocations: 0.5529 MB / 390.8 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003585/0.2888, allocations: 2.544 MB / 393.3 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009411/0.2897, allocations: 480 kB / 393.8 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007325/0.2905, allocations: 295 kB / 394.1 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.677e-05/0.2905, allocations: 11.09 kB / 394.1 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.2905, allocations: 46.14 kB / 394.2 MB, free: 4.043 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 2.224e-06/0.2906, allocations: 3.938 kB / 394.2 MB, free: 4.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.004515/0.2951, allocations: 1.491 MB / 395.7 MB, free: 3.488 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.2951, allocations: 57.38 kB / 395.7 MB, free: 3.422 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.2963, allocations: 0.9433 MB / 396.7 MB, free: 3.055 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.2964, allocations: 36.67 kB / 396.7 MB, free: 3.016 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.2966, allocations: 404.7 kB / 397.1 MB, free: 2.699 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.2968, allocations: 204.8 kB / 397.3 MB, free: 2.543 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.297, allocations: 120.5 kB / 397.4 MB, free: 2.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.952e-05/0.297, allocations: 328.8 kB / 397.7 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006044/0.2977, allocations: 244.2 kB / 398 MB, free: 2.078 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006107/0.2983, allocations: 345 kB / 398.3 MB, free: 1.895 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.2994, allocations: 0.5649 MB / 398.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2994, allocations: 1.375 kB / 398.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001475/0.3009, allocations: 0.734 MB / 399.6 MB, free: 1.293 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.3009, allocations: 9.594 kB / 399.6 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.3009, allocations: 1.875 kB / 399.6 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.301, allocations: 9.438 kB / 399.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007774/0.3017, allocations: 174.4 kB / 399.8 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.3018, allocations: 9.344 kB / 399.8 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005243/0.3023, allocations: 40.28 kB / 399.8 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/0.3024, allocations: 31.62 kB / 399.9 MB, free: 1.246 MB / 318.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.0003046/0.3027, allocations: 258 kB / 400.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.3028, allocations: 85.5 kB / 400.2 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.3042, allocations: 0.6335 MB / 400.8 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.3042, allocations: 6.969 kB / 400.8 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3042, allocations: 0 / 400.8 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-06/0.3043, allocations: 3.844 kB / 400.8 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002987/0.3072, allocations: 1.807 MB / 402.7 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.3073, allocations: 6.375 kB / 402.7 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000599/0.3079, allocations: 132.5 kB / 402.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.3079, allocations: 4.594 kB / 402.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/0.3079, allocations: 19.52 kB / 402.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.116e-05/0.308, allocations: 8.344 kB / 402.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.308, allocations: 2 kB / 402.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.3094, allocations: 0.747 MB / 403.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002867/0.3097, allocations: 206.5 kB / 403.8 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.906e-05/0.3098, allocations: 13.62 kB / 403.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004428/0.3102, allocations: 39.78 kB / 403.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.667e-05/0.3104, allocations: 40.22 kB / 403.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-05/0.3104, allocations: 26.19 kB / 403.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000861/0.3113, allocations: 0.6843 MB / 404.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.3113, allocations: 3.938 kB / 404.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005989/0.3119, allocations: 149.5 kB / 404.7 MB, free: 14.31 MB / 334.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.0008715/0.3128, allocations: 367.9 kB / 405.1 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001377/0.3141, allocations: 0.5811 MB / 405.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3142, allocations: 0 / 405.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006237/0.3148, allocations: 296.6 kB / 406 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007771/0.3156, allocations: 135.1 kB / 406.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/0.3185, allocations: 1.616 MB / 407.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006196/0.3191, allocations: 0.9639 MB / 408.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.3194, allocations: 59.45 kB / 408.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3194, allocations: 0 / 408.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of Templates: time 0.01543/0.3348, allocations: 10.01 MB / 418.7 MB, free: 3.48 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches