Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadModel(Modelica): time 1.902/1.902, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.0003591, allocations: 8 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.129, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4102/0.5393, allocations: 77.22 MB / 349.8 MB, free: 12.29 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/0.5397, allocations: 86.45 kB / 349.9 MB, free: 12.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08036/0.62, allocations: 15.2 MB / 365.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.6201, allocations: 0 / 365.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.997e-05/0.6202, allocations: 20 kB / 365.1 MB, free: 15.36 MB / 298.7 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.003707/0.6239, allocations: 1.105 MB / 366.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.624, allocations: 8.031 kB / 366.3 MB, free: 14.24 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003736/0.6244, allocations: 94.88 kB / 366.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.6258, allocations: 0.5264 MB / 366.9 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/0.626, allocations: 52.92 kB / 366.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.6262, allocations: 68.41 kB / 367 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002212/0.6284, allocations: 0.6571 MB / 367.6 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.6285, allocations: 8 kB / 367.7 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.476e-05/0.6286, allocations: 26.44 kB / 367.7 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/0.6287, allocations: 19.98 kB / 367.7 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002456/0.6311, allocations: 0.6078 MB / 368.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006699/0.6379, allocations: 2.663 MB / 371 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0025/0.6404, allocations: 0.5044 MB / 371.5 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.6406, allocations: 12.5 kB / 371.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.733e-05/0.6407, allocations: 38.67 kB / 371.5 MB, free: 10.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 5.36e-06/0.6407, allocations: 0 / 371.5 MB, free: 10.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=65): time 0.01341/0.6542, allocations: 1.741 MB / 373.3 MB, free: 8.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.6543, allocations: 59.97 kB / 373.3 MB, free: 8.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002274/0.6566, allocations: 0.9192 MB / 374.2 MB, free: 7.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001745/0.6568, allocations: 45.2 kB / 374.3 MB, free: 7.941 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003898/0.6572, allocations: 392.6 kB / 374.7 MB, free: 7.684 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.6575, allocations: 219.4 kB / 374.9 MB, free: 7.496 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.922e-05/0.6576, allocations: 13.44 kB / 374.9 MB, free: 7.492 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002231/0.6578, allocations: 392.2 kB / 375.3 MB, free: 7.133 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.6591, allocations: 280.8 kB / 375.6 MB, free: 6.945 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.6603, allocations: 386 kB / 375.9 MB, free: 6.641 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.6616, allocations: 334 kB / 376.3 MB, free: 6.418 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.6617, allocations: 0 / 376.3 MB, free: 6.418 MB / 298.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003088/0.6648, allocations: 0.8444 MB / 377.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.069e-05/0.6649, allocations: 30.33 kB / 377.1 MB, free: 5.738 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.6649, allocations: 7.938 kB / 377.1 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.6649, allocations: 11.89 kB / 377.2 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.6666, allocations: 194.6 kB / 377.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.217e-05/0.6666, allocations: 7.984 kB / 377.4 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.6679, allocations: 58.33 kB / 377.4 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.61e-05/0.668, allocations: 30.86 kB / 377.4 MB, free: 5.457 MB / 298.7 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_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 initialization (88): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006481/0.6687, allocations: 277.8 kB / 377.7 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.6689, allocations: 82.97 kB / 377.8 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002705/0.6716, allocations: 0.6965 MB / 378.5 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.6717, allocations: 11.98 kB / 378.5 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.6717, allocations: 3.953 kB / 378.5 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.6717, allocations: 3.984 kB / 378.5 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005468/0.6772, allocations: 1.967 MB / 380.5 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.6773, allocations: 0 / 380.5 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.6785, allocations: 151.3 kB / 380.6 MB, free: 2.922 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.381e-05/0.6785, allocations: 4 kB / 380.6 MB, free: 2.918 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-05/0.6786, allocations: 18.61 kB / 380.6 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.31e-05/0.6786, allocations: 12.08 kB / 380.7 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.6786, allocations: 4 kB / 380.7 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00268/0.6813, allocations: 0.8046 MB / 381.5 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006546/0.682, allocations: 244 kB / 381.7 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/0.6822, allocations: 16 kB / 381.7 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009111/0.6831, allocations: 55.95 kB / 381.8 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.6833, allocations: 48.39 kB / 381.8 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-05/0.6834, allocations: 20 kB / 381.8 MB, free: 1.727 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001534/0.6849, allocations: 0.6747 MB / 382.5 MB, free: 1.055 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.51e-07/0.6849, allocations: 0 / 382.5 MB, free: 1.055 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001102/0.6861, allocations: 176 kB / 382.7 MB, free: 0.8828 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007969/0.6869, allocations: 248 kB / 382.9 MB, free: 0.668 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002841/0.6897, allocations: 0.7144 MB / 383.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.832e-06/0.6898, allocations: 4.125 kB / 383.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001358/0.6912, allocations: 331.6 kB / 384 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.6923, allocations: 102.4 kB / 384.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004946/0.6973, allocations: 1.926 MB / 386 MB, free: 13.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008225/0.6982, allocations: 0.9797 MB / 387 MB, free: 12.53 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009956/0.6992, allocations: 116.9 kB / 387.1 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003508/0.6996, allocations: 55.42 kB / 387.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of SimCode: time 1.193e-06/0.6996, allocations: 0 / 387.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of Templates: time 0.02742/0.727, allocations: 7.707 MB / 394.8 MB, free: 4.668 MB / 314.7 MB