Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadModel(Modelica): time 0.9298/0.9298, allocations: 111.2 MB / 124.2 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.358e-05/2.372e-05, allocations: 4 kB / 154.3 MB, free: 13.18 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1352, allocations: 25.15 MB / 179.4 MB, free: 0.8047 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06049/0.1957, allocations: 41.57 MB / 221 MB, free: 7.523 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.196, allocations: 63.97 kB / 221.1 MB, free: 7.461 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05624/0.2522, allocations: 14.14 MB / 235.2 MB, free: 9.27 MB / 202.7 MB Notification: Performance of FrontEnd: time 4.452e-06/0.2523, allocations: 4 kB / 235.2 MB, free: 9.266 MB / 202.7 MB Notification: Performance of Transformations before backend: time 4.425e-05/0.2524, allocations: 12 kB / 235.2 MB, free: 9.254 MB / 202.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002048/0.2544, allocations: 0.944 MB / 236.2 MB, free: 8.262 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.2545, allocations: 12.03 kB / 236.2 MB, free: 8.25 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002096/0.2547, allocations: 90.88 kB / 236.3 MB, free: 8.16 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.2558, allocations: 0.5115 MB / 236.8 MB, free: 7.609 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.2559, allocations: 53.98 kB / 236.8 MB, free: 7.559 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.2561, allocations: 63.95 kB / 236.9 MB, free: 7.496 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.2578, allocations: 0.7222 MB / 237.6 MB, free: 6.758 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.2578, allocations: 4 kB / 237.6 MB, free: 6.754 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.881e-05/0.2579, allocations: 28 kB / 237.6 MB, free: 6.727 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.258, allocations: 12 kB / 237.7 MB, free: 6.715 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.2595, allocations: 0.6065 MB / 238.3 MB, free: 6.109 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005604/0.2651, allocations: 2.733 MB / 241 MB, free: 3.23 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.2664, allocations: 0.5477 MB / 241.5 MB, free: 2.676 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008961/0.2673, allocations: 387.1 kB / 241.9 MB, free: 2.293 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.054e-05/0.2674, allocations: 8.5 kB / 241.9 MB, free: 2.285 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.2674, allocations: 39 kB / 242 MB, free: 2.238 MB / 202.7 MB Notification: Performance of pre-optimization done (n=49): time 4.007e-06/0.2674, allocations: 0 / 242 MB, free: 2.238 MB / 202.7 MB Notification: Performance of matching and sorting (n=65): time 0.005641/0.2731, allocations: 1.93 MB / 243.9 MB, free: 320 kB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.2731, allocations: 59.97 kB / 244 MB, free: 248 kB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1188/0.3919, allocations: 0.6363 MB / 244.6 MB, free: 49.39 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.3921, allocations: 37.39 kB / 244.6 MB, free: 49.36 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/0.3924, allocations: 398.9 kB / 245 MB, free: 49.21 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/0.3926, allocations: 220.1 kB / 245.2 MB, free: 49.12 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.3926, allocations: 15.81 kB / 245.3 MB, free: 49.12 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 8.113e-05/0.3927, allocations: 338.1 kB / 245.6 MB, free: 48.81 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000806/0.3936, allocations: 321.5 kB / 245.9 MB, free: 48.8 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007564/0.3943, allocations: 412.9 kB / 246.3 MB, free: 48.72 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007309/0.3951, allocations: 355.3 kB / 246.6 MB, free: 48.71 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.834e-06/0.3951, allocations: 0 / 246.6 MB, free: 48.71 MB / 202.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00163/0.3967, allocations: 0.8347 MB / 247.5 MB, free: 48.65 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.3968, allocations: 7.688 kB / 247.5 MB, free: 48.65 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.3968, allocations: 7.641 kB / 247.5 MB, free: 48.65 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.3968, allocations: 8.125 kB / 247.5 MB, free: 48.65 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.3979, allocations: 198 kB / 247.7 MB, free: 48.65 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.3979, allocations: 5 kB / 247.7 MB, free: 48.65 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007268/0.3987, allocations: 64.72 kB / 247.8 MB, free: 48.65 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.674e-05/0.3988, allocations: 44.98 kB / 247.8 MB, free: 48.65 MB / 202.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: 3 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact,comparisonWithFEA.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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 prepare postOptimizeDAE: time 0.0001584/0.399, allocations: 142 kB / 247.9 MB, free: 48.55 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.3991, allocations: 75.66 kB / 248 MB, free: 48.51 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.4008, allocations: 0.9144 MB / 248.9 MB, free: 48.45 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.4009, allocations: 6.281 kB / 248.9 MB, free: 48.45 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.334e-06/0.4009, allocations: 6.312 kB / 249 MB, free: 48.45 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.855e-06/0.4009, allocations: 3.953 kB / 249 MB, free: 48.45 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003552/0.4045, allocations: 2.189 MB / 251.1 MB, free: 47.88 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.516e-06/0.4045, allocations: 6.656 kB / 251.1 MB, free: 47.88 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007528/0.4053, allocations: 147 kB / 251.3 MB, free: 47.88 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/0.4053, allocations: 3.188 kB / 251.3 MB, free: 47.88 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.855e-05/0.4054, allocations: 22.5 kB / 251.3 MB, free: 47.88 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.296e-06/0.4054, allocations: 8.703 kB / 251.3 MB, free: 47.87 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.595e-06/0.4054, allocations: 9.531 kB / 251.3 MB, free: 47.87 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.4069, allocations: 1.147 MB / 252.5 MB, free: 47.21 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003851/0.4073, allocations: 239.5 kB / 252.7 MB, free: 47.03 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.4075, allocations: 15.84 kB / 252.7 MB, free: 47.02 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006183/0.4081, allocations: 61.14 kB / 252.8 MB, free: 47.02 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.4082, allocations: 50.84 kB / 252.8 MB, free: 47 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.982e-05/0.4083, allocations: 40.48 kB / 252.9 MB, free: 47 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0007041/0.409, allocations: 0.5051 MB / 253.4 MB, free: 46.78 MB / 202.7 MB Notification: Performance of sort global known variables: time 8.33e-07/0.4091, allocations: 0 / 253.4 MB, free: 46.78 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0007242/0.4098, allocations: 166.9 kB / 253.5 MB, free: 46.76 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact,comparisonWithFEA.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003492/0.4102, allocations: 174 kB / 253.7 MB, free: 46.66 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.4113, allocations: 0.6353 MB / 254.4 MB, free: 46.46 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 4.161e-06/0.4113, allocations: 0 / 254.4 MB, free: 46.46 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005777/0.4119, allocations: 343.4 kB / 254.7 MB, free: 46.35 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007577/0.4127, allocations: 117.3 kB / 254.8 MB, free: 46.31 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.4149, allocations: 1.161 MB / 256 MB, free: 45.74 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/0.4154, allocations: 0.9765 MB / 256.9 MB, free: 45.04 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/0.4157, allocations: 61.14 kB / 257 MB, free: 45.02 MB / 202.7 MB Notification: Performance of SimCode: time 1.683e-06/0.4157, allocations: 0 / 257 MB, free: 45.02 MB / 202.7 MB Notification: Performance of Templates: time 0.01477/0.4305, allocations: 9.465 MB / 266.5 MB, free: 39.03 MB / 202.7 MB