Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.189/2.189, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.0003958, allocations: 8 kB / 264 MB, free: 13.49 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09818/0.09862, allocations: 44.51 MB / 308.5 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4333/0.532, allocations: 82.1 MB / 390.6 MB, free: 14.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/0.5324, allocations: 91.03 kB / 390.7 MB, free: 14.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06088/0.5933, allocations: 15.19 MB / 405.9 MB, free: 11.31 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.5933, allocations: 0 / 405.9 MB, free: 11.31 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.092e-05/0.5934, allocations: 15.12 kB / 405.9 MB, free: 11.31 MB / 314.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.002932/0.5964, allocations: 1.114 MB / 407 MB, free: 10.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.5964, allocations: 7.781 kB / 407.1 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002402/0.5967, allocations: 100.3 kB / 407.2 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002449/0.5969, allocations: 97.58 kB / 407.3 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.5981, allocations: 0.5254 MB / 407.8 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.5983, allocations: 54.58 kB / 407.8 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.5984, allocations: 56.28 kB / 407.9 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/0.6003, allocations: 0.6673 MB / 408.6 MB, free: 9.848 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/0.6004, allocations: 7.875 kB / 408.6 MB, free: 9.844 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.085e-05/0.6005, allocations: 22.56 kB / 408.6 MB, free: 9.844 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.6005, allocations: 23.44 kB / 408.6 MB, free: 9.836 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.6027, allocations: 0.6013 MB / 409.2 MB, free: 9.742 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005785/0.6085, allocations: 2.664 MB / 411.9 MB, free: 8.293 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.6101, allocations: 0.5138 MB / 412.4 MB, free: 8.211 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.366e-05/0.6102, allocations: 4.406 kB / 412.4 MB, free: 8.211 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.6103, allocations: 46.52 kB / 412.4 MB, free: 8.164 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 3.406e-06/0.6103, allocations: 0 / 412.4 MB, free: 8.164 MB / 314.7 MB Notification: Performance of matching and sorting (n=65): time 0.00799/0.6183, allocations: 1.739 MB / 414.2 MB, free: 7.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.6184, allocations: 63.66 kB / 414.2 MB, free: 7.594 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.6201, allocations: 0.8407 MB / 415.1 MB, free: 7.359 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001262/0.6203, allocations: 43.02 kB / 415.1 MB, free: 7.324 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002748/0.6205, allocations: 402.5 kB / 415.5 MB, free: 7.062 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/0.6208, allocations: 219.9 kB / 415.7 MB, free: 6.906 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.504e-05/0.6209, allocations: 15.09 kB / 415.7 MB, free: 6.906 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.068e-05/0.621, allocations: 333.8 kB / 416.1 MB, free: 6.586 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.6221, allocations: 284 kB / 416.3 MB, free: 6.543 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.6232, allocations: 377 kB / 416.7 MB, free: 6.406 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.6243, allocations: 343.7 kB / 417 MB, free: 6.336 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.6244, allocations: 0 / 417 MB, free: 6.336 MB / 314.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002516/0.6269, allocations: 0.7924 MB / 417.8 MB, free: 6.145 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.396e-05/0.627, allocations: 29.55 kB / 417.9 MB, free: 6.113 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.627, allocations: 3.906 kB / 417.9 MB, free: 6.113 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/0.627, allocations: 3.875 kB / 417.9 MB, free: 6.113 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.6285, allocations: 191 kB / 418.1 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/0.6285, allocations: 7.812 kB / 418.1 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.6297, allocations: 65.08 kB / 418.1 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.67e-05/0.6298, allocations: 22.58 kB / 418.2 MB, free: 6.051 MB / 314.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.000576/0.6304, allocations: 273.8 kB / 418.4 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.6306, allocations: 85.8 kB / 418.5 MB, free: 5.863 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/0.6329, allocations: 0.7083 MB / 419.2 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.633, allocations: 7.75 kB / 419.2 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.633, allocations: 0 / 419.2 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.633, allocations: 3.984 kB / 419.2 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004701/0.6378, allocations: 1.976 MB / 421.2 MB, free: 4.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.6378, allocations: 3.844 kB / 421.2 MB, free: 4.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.639, allocations: 148 kB / 421.4 MB, free: 4.719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-05/0.639, allocations: 3.312 kB / 421.4 MB, free: 4.719 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.418e-05/0.6391, allocations: 21.77 kB / 421.4 MB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/0.6391, allocations: 7.594 kB / 421.4 MB, free: 4.707 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.6391, allocations: 3.875 kB / 421.4 MB, free: 4.707 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/0.6415, allocations: 0.9129 MB / 422.3 MB, free: 4.215 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005/0.642, allocations: 235.4 kB / 422.5 MB, free: 4.059 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.6422, allocations: 21.36 kB / 422.6 MB, free: 4.055 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000887/0.6431, allocations: 49.91 kB / 422.6 MB, free: 4.047 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.6432, allocations: 50.92 kB / 422.6 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.468e-05/0.6433, allocations: 21.86 kB / 422.7 MB, free: 4.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001272/0.6446, allocations: 0.6747 MB / 423.3 MB, free: 3.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6446, allocations: 0 / 423.3 MB, free: 3.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001007/0.6456, allocations: 172.8 kB / 423.5 MB, free: 3.84 MB / 314.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.003307/0.6489, allocations: 2.257 MB / 425.8 MB, free: 2.137 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002372/0.6514, allocations: 0.7117 MB / 426.5 MB, free: 1.957 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.6514, allocations: 3.875 kB / 426.5 MB, free: 1.957 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.6525, allocations: 339.8 kB / 426.8 MB, free: 1.891 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.6536, allocations: 107.6 kB / 426.9 MB, free: 1.855 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005764/0.6594, allocations: 3.936 MB / 430.9 MB, free: 14.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007221/0.6602, allocations: 0.9859 MB / 431.8 MB, free: 14.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009066/0.6611, allocations: 301.4 kB / 432.1 MB, free: 14.01 MB / 330.7 MB Notification: Performance of SimCode: time 1.383e-06/0.6611, allocations: 7.875 kB / 432.1 MB, free: 14.01 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.888/3.549, allocations: 13.96 MB / 446.1 MB, free: 3.391 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat does not exist to compare? outputFormat=mat