Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 1.473/1.473, allocations: 111.1 MB / 127.3 MB, free: 6.148 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002833/0.0002834, allocations: 4 kB / 158.9 MB, free: 15.21 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05932/0.05962, allocations: 25.16 MB / 184 MB, free: 6.008 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2339/0.2936, allocations: 41.64 MB / 225.7 MB, free: 4.004 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/0.2939, allocations: 75.14 kB / 225.8 MB, free: 3.992 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06171/0.3557, allocations: 14.15 MB / 239.9 MB, free: 8.898 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3557, allocations: 0 / 239.9 MB, free: 8.898 MB / 186.7 MB Notification: Performance of Transformations before backend: time 5.777e-05/0.3558, allocations: 16 kB / 239.9 MB, free: 8.883 MB / 186.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.003419/0.3592, allocations: 1.057 MB / 241 MB, free: 7.828 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.3593, allocations: 12.03 kB / 241 MB, free: 7.816 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003758/0.3597, allocations: 98.88 kB / 241.1 MB, free: 7.719 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.361, allocations: 0.5111 MB / 241.6 MB, free: 7.258 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000219/0.3613, allocations: 53.42 kB / 241.7 MB, free: 7.223 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.3615, allocations: 59.2 kB / 241.7 MB, free: 7.184 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/0.364, allocations: 0.7883 MB / 242.5 MB, free: 6.602 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.606e-05/0.3641, allocations: 3.906 kB / 242.5 MB, free: 6.598 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.3642, allocations: 27 kB / 242.5 MB, free: 6.59 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.3642, allocations: 12 kB / 242.5 MB, free: 6.578 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002933/0.3672, allocations: 0.7265 MB / 243.3 MB, free: 6.051 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007392/0.3746, allocations: 2.737 MB / 246 MB, free: 3.867 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002019/0.3767, allocations: 0.5957 MB / 246.6 MB, free: 3.445 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.287e-05/0.3768, allocations: 7.688 kB / 246.6 MB, free: 3.441 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/0.3769, allocations: 42.44 kB / 246.7 MB, free: 3.395 MB / 186.7 MB Notification: Performance of pre-optimization done (n=49): time 3.246e-06/0.3769, allocations: 0 / 246.7 MB, free: 3.395 MB / 186.7 MB Notification: Performance of matching and sorting (n=64): time 0.01018/0.3871, allocations: 2.405 MB / 249.1 MB, free: 1.414 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/0.3872, allocations: 59.97 kB / 249.1 MB, free: 1.344 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/0.3887, allocations: 0.7391 MB / 249.9 MB, free: 0.625 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001242/0.3888, allocations: 33.7 kB / 249.9 MB, free: 0.5859 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000355/0.3892, allocations: 394.5 kB / 250.3 MB, free: 204 kB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/0.3895, allocations: 224.9 kB / 250.5 MB, free: 15.98 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.397e-05/0.3896, allocations: 8 kB / 250.5 MB, free: 15.97 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3898, allocations: 342.8 kB / 250.8 MB, free: 15.62 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/0.3912, allocations: 385.8 kB / 251.2 MB, free: 15.25 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/0.3927, allocations: 494.9 kB / 251.7 MB, free: 14.73 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/0.3943, allocations: 423.1 kB / 252.1 MB, free: 14.32 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/0.3943, allocations: 3.938 kB / 252.1 MB, free: 14.31 MB / 202.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003398/0.3977, allocations: 0.9771 MB / 253.1 MB, free: 13.33 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.3978, allocations: 12.06 kB / 253.1 MB, free: 13.32 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.3978, allocations: 4 kB / 253.1 MB, free: 13.31 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.791e-05/0.3979, allocations: 11.92 kB / 253.1 MB, free: 13.3 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.3995, allocations: 191.8 kB / 253.3 MB, free: 13.11 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.3995, allocations: 4 kB / 253.3 MB, free: 13.11 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.4006, allocations: 63.95 kB / 253.4 MB, free: 13.05 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.4008, allocations: 35.98 kB / 253.4 MB, free: 13.01 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0006767/0.4014, allocations: 281.5 kB / 253.7 MB, free: 12.73 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.4017, allocations: 83.05 kB / 253.8 MB, free: 12.64 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003381/0.405, allocations: 1.03 MB / 254.8 MB, free: 11.6 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.4051, allocations: 8 kB / 254.8 MB, free: 11.59 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.4052, allocations: 0 / 254.8 MB, free: 11.59 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.4052, allocations: 3.984 kB / 254.8 MB, free: 11.59 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006627/0.4118, allocations: 2.282 MB / 257.1 MB, free: 9.188 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/0.4119, allocations: 4 kB / 257.1 MB, free: 9.184 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.4132, allocations: 152.1 kB / 257.2 MB, free: 9.035 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.526e-05/0.4132, allocations: 7.938 kB / 257.2 MB, free: 9.027 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/0.4133, allocations: 16 kB / 257.3 MB, free: 9.012 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/0.4133, allocations: 8 kB / 257.3 MB, free: 9.004 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.4134, allocations: 7.922 kB / 257.3 MB, free: 8.996 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003382/0.4168, allocations: 1.144 MB / 258.4 MB, free: 7.809 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006449/0.4175, allocations: 240.1 kB / 258.7 MB, free: 7.555 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/0.4177, allocations: 12 kB / 258.7 MB, free: 7.543 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009002/0.4186, allocations: 59.89 kB / 258.7 MB, free: 7.484 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.4188, allocations: 48.45 kB / 258.8 MB, free: 7.438 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-05/0.4189, allocations: 28 kB / 258.8 MB, free: 7.41 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0012/0.4201, allocations: 0.5224 MB / 259.3 MB, free: 6.891 MB / 202.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4201, allocations: 0 / 259.3 MB, free: 6.891 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0009652/0.4211, allocations: 160 kB / 259.5 MB, free: 6.734 MB / 202.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: 3 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact,comparisonWithFEA.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 63 * 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.0005073/0.4216, allocations: 195 kB / 259.7 MB, free: 6.543 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.002797/0.4244, allocations: 0.7737 MB / 260.4 MB, free: 5.77 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.4245, allocations: 0 / 260.4 MB, free: 5.77 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001402/0.4259, allocations: 399.6 kB / 260.8 MB, free: 5.379 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.4271, allocations: 110.9 kB / 260.9 MB, free: 5.273 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00459/0.4317, allocations: 1.895 MB / 262.8 MB, free: 3.316 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008595/0.4327, allocations: 0.9749 MB / 263.8 MB, free: 2.312 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005789/0.4333, allocations: 59.41 kB / 263.9 MB, free: 2.254 MB / 202.7 MB Notification: Performance of SimCode: time 1.242e-06/0.4333, allocations: 0 / 263.9 MB, free: 2.254 MB / 202.7 MB Notification: Performance of Templates: time 0.02504/0.4583, allocations: 9.448 MB / 273.3 MB, free: 8.816 MB / 218.7 MB