Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.599/1.599, allocations: 171.1 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.0003472, allocations: 12 kB / 233.3 MB, free: 2.914 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08017/0.08055, allocations: 38.76 MB / 272.1 MB, free: 12.07 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3379/0.4185, allocations: 77.22 MB / 349.3 MB, free: 12.32 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/0.4188, allocations: 85.14 kB / 349.4 MB, free: 12.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06332/0.4822, allocations: 15.19 MB / 364.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4822, allocations: 0 / 364.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.164e-05/0.4823, allocations: 16 kB / 364.6 MB, free: 15.39 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.002921/0.4852, allocations: 1.109 MB / 365.7 MB, free: 14.28 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.4853, allocations: 8.031 kB / 365.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001698/0.4854, allocations: 104.7 kB / 365.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002232/0.4857, allocations: 99.47 kB / 365.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.4869, allocations: 0.5257 MB / 366.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.4871, allocations: 52.75 kB / 366.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.4872, allocations: 61.39 kB / 366.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.4892, allocations: 0.6672 MB / 367.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.4893, allocations: 0 / 367.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.4894, allocations: 26.81 kB / 367.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.4894, allocations: 12 kB / 367.3 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.4916, allocations: 0.6133 MB / 367.9 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00569/0.4973, allocations: 2.654 MB / 370.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.499, allocations: 0.5103 MB / 371.1 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.618e-05/0.499, allocations: 8.5 kB / 371.1 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.4991, allocations: 46.12 kB / 371.1 MB, free: 10.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 3.126e-06/0.4991, allocations: 0 / 371.1 MB, free: 10.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=65): time 0.008057/0.5072, allocations: 1.746 MB / 372.9 MB, free: 8.703 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.5072, allocations: 63.97 kB / 372.9 MB, free: 8.629 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/0.509, allocations: 0.8367 MB / 373.8 MB, free: 7.996 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.66e-05/0.5091, allocations: 37.45 kB / 373.8 MB, free: 7.961 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003083/0.5094, allocations: 408 kB / 374.2 MB, free: 7.668 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/0.5096, allocations: 217.7 kB / 374.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.168e-05/0.5097, allocations: 13.25 kB / 374.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.5099, allocations: 336.5 kB / 374.8 MB, free: 7.152 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.511, allocations: 280.7 kB / 375 MB, free: 6.965 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.5122, allocations: 390.1 kB / 375.4 MB, free: 6.656 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.5134, allocations: 338.2 kB / 375.7 MB, free: 6.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.5134, allocations: 0 / 375.7 MB, free: 6.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002662/0.5161, allocations: 0.789 MB / 376.5 MB, free: 5.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.111e-05/0.5161, allocations: 33.7 kB / 376.6 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.5162, allocations: 11.92 kB / 376.6 MB, free: 5.789 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.5162, allocations: 7.953 kB / 376.6 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/0.5177, allocations: 195.3 kB / 376.8 MB, free: 5.598 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/0.5177, allocations: 4 kB / 376.8 MB, free: 5.594 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.5188, allocations: 63.77 kB / 376.8 MB, free: 5.543 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.811e-05/0.5189, allocations: 23.55 kB / 376.9 MB, free: 5.523 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.0005208/0.5194, allocations: 270.9 kB / 377.1 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.5196, allocations: 82.95 kB / 377.2 MB, free: 5.234 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/0.522, allocations: 0.6965 MB / 377.9 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.5221, allocations: 8 kB / 377.9 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.5221, allocations: 3.953 kB / 377.9 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.5221, allocations: 3.984 kB / 377.9 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004718/0.5268, allocations: 1.965 MB / 379.9 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.5269, allocations: 0 / 379.9 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.528, allocations: 159.2 kB / 380 MB, free: 2.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.528, allocations: 4 kB / 380 MB, free: 2.988 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.932e-05/0.5281, allocations: 15.12 kB / 380.1 MB, free: 2.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-05/0.5281, allocations: 11.95 kB / 380.1 MB, free: 2.969 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.5281, allocations: 7.938 kB / 380.1 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002367/0.5305, allocations: 0.9075 MB / 381 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004597/0.531, allocations: 241.5 kB / 381.2 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.5312, allocations: 18.56 kB / 381.2 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008557/0.532, allocations: 58.2 kB / 381.3 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.5322, allocations: 51.33 kB / 381.3 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.524e-05/0.5322, allocations: 19.06 kB / 381.4 MB, free: 1.805 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001266/0.5335, allocations: 0.6717 MB / 382 MB, free: 1.324 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5335, allocations: 4 kB / 382 MB, free: 1.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008771/0.5344, allocations: 174.9 kB / 382.2 MB, free: 1.168 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.003553/0.538, allocations: 2.218 MB / 384.4 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002458/0.5405, allocations: 0.7106 MB / 385.1 MB, free: 14.19 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.5405, allocations: 0 / 385.1 MB, free: 14.19 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.5417, allocations: 335.7 kB / 385.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009046/0.5426, allocations: 110.9 kB / 385.6 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00571/0.5483, allocations: 3.939 MB / 389.5 MB, free: 9.684 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007239/0.5491, allocations: 0.9758 MB / 390.5 MB, free: 8.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008144/0.5499, allocations: 307.2 kB / 390.8 MB, free: 8.379 MB / 314.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5499, allocations: 8 kB / 390.8 MB, free: 8.371 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.779/3.329, allocations: 13.96 MB / 404.8 MB, free: 10.41 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat does not exist to compare? outputFormat=mat