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: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.676/1.676, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003643, allocations: 12 kB / 233.4 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08247/0.08287, allocations: 38.76 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3795/0.4625, allocations: 77.23 MB / 349.4 MB, free: 11.72 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/0.4628, allocations: 89.56 kB / 349.4 MB, free: 11.67 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06678/0.5296, allocations: 15.19 MB / 364.6 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5297, allocations: 0 / 364.6 MB, free: 14.81 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.466e-05/0.5298, allocations: 16 kB / 364.7 MB, free: 14.79 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.003047/0.5328, allocations: 1.106 MB / 365.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.5329, allocations: 12.03 kB / 365.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002362/0.5331, allocations: 104.5 kB / 365.9 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002469/0.5334, allocations: 95.47 kB / 366 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.5347, allocations: 0.5271 MB / 366.5 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/0.5349, allocations: 50.19 kB / 366.5 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.5351, allocations: 64.53 kB / 366.6 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/0.5372, allocations: 0.6656 MB / 367.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.185e-05/0.5372, allocations: 0 / 367.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.008e-05/0.5373, allocations: 25.69 kB / 367.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/0.5374, allocations: 16 kB / 367.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002268/0.5396, allocations: 0.612 MB / 367.9 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006146/0.5458, allocations: 2.654 MB / 370.6 MB, free: 9.934 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/0.5475, allocations: 0.5151 MB / 371.1 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.192e-05/0.5476, allocations: 16.5 kB / 371.1 MB, free: 9.566 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.5477, allocations: 38.31 kB / 371.1 MB, free: 9.523 MB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 3.166e-06/0.5477, allocations: 0 / 371.1 MB, free: 9.523 MB / 298.7 MB Notification: Performance of matching and sorting (n=65): time 0.008395/0.5561, allocations: 1.746 MB / 372.9 MB, free: 8.102 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.5562, allocations: 55.97 kB / 372.9 MB, free: 8.035 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001928/0.5581, allocations: 0.8418 MB / 373.8 MB, free: 7.398 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000133/0.5583, allocations: 39.14 kB / 373.8 MB, free: 7.363 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003731/0.5587, allocations: 396.3 kB / 374.2 MB, free: 7.102 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/0.5589, allocations: 216.1 kB / 374.4 MB, free: 6.914 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.527e-05/0.559, allocations: 18 kB / 374.4 MB, free: 6.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.5592, allocations: 389.8 kB / 374.8 MB, free: 6.551 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.5604, allocations: 278.5 kB / 375.1 MB, free: 6.363 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/0.5616, allocations: 391.2 kB / 375.5 MB, free: 6.055 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.5629, allocations: 336 kB / 375.8 MB, free: 5.832 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.5629, allocations: 0 / 375.8 MB, free: 5.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002897/0.5658, allocations: 0.8394 MB / 376.6 MB, free: 5.191 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.047e-05/0.5659, allocations: 41.62 kB / 376.7 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.5659, allocations: 0 / 376.7 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-05/0.5659, allocations: 11.95 kB / 376.7 MB, free: 5.133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/0.5675, allocations: 191.4 kB / 376.9 MB, free: 4.953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.181e-05/0.5675, allocations: 11.98 kB / 376.9 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.5686, allocations: 66.19 kB / 377 MB, free: 4.887 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-05/0.5687, allocations: 23.61 kB / 377 MB, free: 4.867 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.0005927/0.5693, allocations: 270.7 kB / 377.2 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.5695, allocations: 82.97 kB / 377.3 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002512/0.5721, allocations: 0.6955 MB / 378 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.5721, allocations: 4 kB / 378 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.5721, allocations: 3.953 kB / 378 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.5722, allocations: 7.984 kB / 378 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005445/0.5776, allocations: 1.967 MB / 380 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/0.5777, allocations: 7.938 kB / 380 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/0.5789, allocations: 154.7 kB / 380.2 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.47e-05/0.5789, allocations: 4 kB / 380.2 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-05/0.579, allocations: 10.12 kB / 380.2 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.341e-05/0.579, allocations: 15.94 kB / 380.2 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.579, allocations: 3.938 kB / 380.2 MB, free: 2.305 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002567/0.5816, allocations: 0.9071 MB / 381.1 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005789/0.5822, allocations: 241.7 kB / 381.3 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.5824, allocations: 14.62 kB / 381.4 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009185/0.5833, allocations: 61.83 kB / 381.4 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.5835, allocations: 46.52 kB / 381.5 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.02e-05/0.5836, allocations: 19.75 kB / 381.5 MB, free: 1.152 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001414/0.585, allocations: 0.6707 MB / 382.1 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.585, allocations: 4 kB / 382.2 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009821/0.586, allocations: 176 kB / 382.3 MB, free: 472 kB / 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.003712/0.5897, allocations: 2.223 MB / 384.5 MB, free: 14.19 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002589/0.5924, allocations: 0.7065 MB / 385.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.5924, allocations: 0 / 385.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001213/0.5936, allocations: 339.9 kB / 385.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.5947, allocations: 98.89 kB / 385.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006647/0.6014, allocations: 3.895 MB / 389.6 MB, free: 9.023 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008091/0.6022, allocations: 0.9836 MB / 390.6 MB, free: 8.012 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008965/0.6031, allocations: 112.9 kB / 390.7 MB, free: 7.898 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007582/0.6039, allocations: 303.2 kB / 391 MB, free: 7.602 MB / 314.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6039, allocations: 0 / 391 MB, free: 7.602 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06671/0.6706, allocations: 14.77 MB / 405.7 MB, free: 8.84 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003513/0.6711, allocations: 249.5 kB / 406 MB, free: 8.508 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.991/3.662, allocations: 0 / 406 MB, free: 8.508 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat does not exist to compare? outputFormat=mat