Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.172/2.172, allocations: 194.9 MB / 211.1 MB, free: 8.547 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003813, allocations: 8 kB / 264.1 MB, free: 3.465 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3104, allocations: 44.5 MB / 308.6 MB, free: 12.68 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1503/0.4607, allocations: 82.1 MB / 390.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000357/0.4611, allocations: 91.95 kB / 390.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07076/0.5319, allocations: 15.2 MB / 406 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.532, allocations: 0 / 406 MB, free: 11.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.174e-05/0.5321, allocations: 16 kB / 406 MB, free: 11.09 MB / 346.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.003724/0.5358, allocations: 1.108 MB / 407.1 MB, free: 9.926 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.5359, allocations: 11.97 kB / 407.1 MB, free: 9.914 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003477/0.5363, allocations: 98.52 kB / 407.2 MB, free: 9.809 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002978/0.5366, allocations: 102.8 kB / 407.3 MB, free: 9.707 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/0.5382, allocations: 0.5271 MB / 407.8 MB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001895/0.5384, allocations: 53.31 kB / 407.9 MB, free: 9.082 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/0.5386, allocations: 52 kB / 407.9 MB, free: 9.031 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/0.5411, allocations: 0.6713 MB / 408.6 MB, free: 8.344 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.866e-05/0.5412, allocations: 0 / 408.6 MB, free: 8.344 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.5413, allocations: 24 kB / 408.6 MB, free: 8.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.5413, allocations: 19.95 kB / 408.6 MB, free: 8.301 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002777/0.5441, allocations: 0.6103 MB / 409.2 MB, free: 7.691 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007558/0.5517, allocations: 2.666 MB / 411.9 MB, free: 4.883 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.5537, allocations: 0.5082 MB / 412.4 MB, free: 4.367 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.219e-05/0.5539, allocations: 12.41 kB / 412.4 MB, free: 4.355 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.248e-05/0.554, allocations: 39 kB / 412.5 MB, free: 4.309 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 4.118e-06/0.554, allocations: 0 / 412.5 MB, free: 4.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=65): time 0.01103/0.565, allocations: 1.738 MB / 414.2 MB, free: 2.559 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.5651, allocations: 63.89 kB / 414.3 MB, free: 2.484 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002279/0.5674, allocations: 0.8394 MB / 415.1 MB, free: 1.641 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001812/0.5677, allocations: 37.7 kB / 415.1 MB, free: 1.598 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004784/0.5682, allocations: 388 kB / 415.5 MB, free: 1.211 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003429/0.5685, allocations: 224.8 kB / 415.7 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.984e-05/0.5686, allocations: 12 kB / 415.8 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002708/0.5689, allocations: 394.8 kB / 416.1 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.5703, allocations: 281.8 kB / 416.4 MB, free: 316 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2777/0.848, allocations: 373.5 kB / 416.8 MB, free: 90.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002391/0.8505, allocations: 338.3 kB / 417.1 MB, free: 90.78 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.504e-05/0.8506, allocations: 1.703 kB / 417.1 MB, free: 90.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00494/0.8555, allocations: 0.838 MB / 418 MB, free: 90.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.562e-05/0.8557, allocations: 35.47 kB / 418 MB, free: 90.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.8557, allocations: 2.094 kB / 418 MB, free: 90.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.577e-05/0.8558, allocations: 6.484 kB / 418 MB, free: 90.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002351/0.8581, allocations: 194.9 kB / 418.2 MB, free: 90.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-05/0.8582, allocations: 12.42 kB / 418.2 MB, free: 90.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.86, allocations: 60.91 kB / 418.3 MB, free: 90.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.8602, allocations: 27 kB / 418.3 MB, free: 90.67 MB / 346.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.001029/0.8612, allocations: 272.3 kB / 418.5 MB, free: 90.56 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00038/0.8616, allocations: 81.78 kB / 418.6 MB, free: 90.56 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003892/0.8655, allocations: 0.7099 MB / 419.3 MB, free: 90.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/0.8656, allocations: 7.094 kB / 419.3 MB, free: 90.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.8657, allocations: 0 / 419.3 MB, free: 90.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-05/0.8657, allocations: 7.125 kB / 419.4 MB, free: 90.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007379/0.8731, allocations: 1.963 MB / 421.3 MB, free: 89.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.8732, allocations: 2.688 kB / 421.3 MB, free: 89.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001616/0.8748, allocations: 152.2 kB / 421.5 MB, free: 89.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.419e-05/0.8749, allocations: 13.3 kB / 421.5 MB, free: 89.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.282e-05/0.875, allocations: 11.5 kB / 421.5 MB, free: 89.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.205e-05/0.875, allocations: 6.125 kB / 421.5 MB, free: 89.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/0.875, allocations: 8.641 kB / 421.5 MB, free: 89.95 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003475/0.8785, allocations: 0.9196 MB / 422.4 MB, free: 89.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007383/0.8793, allocations: 234.7 kB / 422.7 MB, free: 89.42 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/0.8795, allocations: 15 kB / 422.7 MB, free: 89.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.8805, allocations: 58.5 kB / 422.7 MB, free: 89.42 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.8807, allocations: 48.67 kB / 422.8 MB, free: 89.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.177e-05/0.8808, allocations: 24.69 kB / 422.8 MB, free: 89.42 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001425/0.8823, allocations: 0.6735 MB / 423.5 MB, free: 89.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.8823, allocations: 0 / 423.5 MB, free: 89.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001108/0.8834, allocations: 171.4 kB / 423.6 MB, free: 89.32 MB / 346.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.003644/0.8871, allocations: 2.266 MB / 425.9 MB, free: 87.74 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002636/0.8898, allocations: 0.7042 MB / 426.6 MB, free: 87.6 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.8899, allocations: 6.656 kB / 426.6 MB, free: 87.6 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001234/0.8911, allocations: 337.7 kB / 426.9 MB, free: 87.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.8922, allocations: 97.2 kB / 427 MB, free: 87.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005885/0.8982, allocations: 3.892 MB / 430.9 MB, free: 84.56 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005473/0.8988, allocations: 0.9886 MB / 431.9 MB, free: 83.83 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008744/0.8997, allocations: 114.1 kB / 432 MB, free: 83.81 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007032/0.9004, allocations: 298.9 kB / 432.3 MB, free: 83.59 MB / 346.7 MB Notification: Performance of SimCode: time 1.573e-06/0.9004, allocations: 0 / 432.3 MB, free: 83.59 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05049/0.9509, allocations: 14.77 MB / 447.1 MB, free: 74.23 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/0.9512, allocations: 253.9 kB / 447.3 MB, free: 73.9 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.233/4.184, allocations: 0 / 447.3 MB, free: 73.9 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat does not exist to compare? outputFormat=mat