Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.NRXFER.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.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.079/2.079, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003557, allocations: 11.98 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09689/0.09729, allocations: 44.51 MB / 308.5 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4309/0.5283, allocations: 77.11 MB / 385.7 MB, free: 14.5 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/0.5286, allocations: 71.47 kB / 385.7 MB, free: 14.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04988/0.5785, allocations: 16.41 MB / 402.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.108e-06/0.5786, allocations: 3.875 kB / 402.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.5786, allocations: 3.875 kB / 402.1 MB, free: 12.96 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007602/0.5794, allocations: 0.6643 MB / 402.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.5795, allocations: 11.62 kB / 402.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.139e-05/0.5795, allocations: 41.75 kB / 402.9 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.018e-05/0.5796, allocations: 43.11 kB / 402.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.58, allocations: 256 kB / 403.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.58, allocations: 3.969 kB / 403.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.5801, allocations: 10.88 kB / 403.2 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003773/0.5804, allocations: 126.4 kB / 403.3 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.5805, allocations: 0 / 403.3 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.5805, allocations: 7.156 kB / 403.3 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.5805, allocations: 3.906 kB / 403.3 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.5807, allocations: 64.77 kB / 403.4 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008399/0.5816, allocations: 463.5 kB / 403.8 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.5819, allocations: 97.86 kB / 403.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.5819, allocations: 0 / 403.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000372/0.5823, allocations: 210.8 kB / 404.1 MB, free: 11.4 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.856e-06/0.5823, allocations: 0 / 404.1 MB, free: 11.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001186/0.5835, allocations: 0.6152 MB / 404.7 MB, free: 10.99 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.118e-05/0.5836, allocations: 162 kB / 404.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008375/0.5845, allocations: 469.6 kB / 405.3 MB, free: 10.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.967e-05/0.5845, allocations: 29.64 kB / 405.4 MB, free: 10.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.5846, allocations: 162.8 kB / 405.5 MB, free: 10.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.586e-05/0.5847, allocations: 26.83 kB / 405.6 MB, free: 10.37 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/0.5847, allocations: 3.438 kB / 405.6 MB, free: 10.37 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.081e-05/0.5848, allocations: 318.8 kB / 405.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.585, allocations: 56.56 kB / 405.9 MB, free: 10.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.5852, allocations: 81.33 kB / 406 MB, free: 10.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.5854, allocations: 159 kB / 406.2 MB, free: 9.883 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.5855, allocations: 0 / 406.2 MB, free: 9.883 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007357/0.5862, allocations: 376.5 kB / 406.5 MB, free: 9.691 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.97e-05/0.5863, allocations: 125.2 kB / 406.6 MB, free: 9.562 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.5863, allocations: 0 / 406.6 MB, free: 9.562 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.5864, allocations: 11.97 kB / 406.7 MB, free: 9.551 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.633e-05/0.5864, allocations: 7.844 kB / 406.7 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.5864, allocations: 0 / 406.7 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.5867, allocations: 7.812 kB / 406.7 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.694e-05/0.5868, allocations: 62.36 kB / 406.7 MB, free: 9.539 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.nRXFERGATE.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.0005842/0.5874, allocations: 358.5 kB / 407.1 MB, free: 9.254 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-05/0.5875, allocations: 39.06 kB / 407.1 MB, free: 9.234 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.5876, allocations: 65.22 kB / 407.2 MB, free: 9.203 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.5877, allocations: 4 kB / 407.2 MB, free: 9.199 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.5877, allocations: 8.078 kB / 407.2 MB, free: 9.191 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.5877, allocations: 112 / 407.2 MB, free: 9.191 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.589, allocations: 0.8053 MB / 408 MB, free: 8.648 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.5891, allocations: 0 / 408 MB, free: 8.648 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.371e-05/0.5891, allocations: 3.938 kB / 408 MB, free: 8.645 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.5891, allocations: 0 / 408 MB, free: 8.645 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-05/0.5892, allocations: 22.88 kB / 408 MB, free: 8.637 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.5892, allocations: 0 / 408 MB, free: 8.637 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5892, allocations: 4 kB / 408 MB, free: 8.633 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008675/0.5901, allocations: 0.5238 MB / 408.6 MB, free: 8.324 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004713/0.5906, allocations: 241.1 kB / 408.8 MB, free: 8.156 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.389e-05/0.5907, allocations: 7.625 kB / 408.8 MB, free: 8.156 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.5909, allocations: 19.44 kB / 408.8 MB, free: 8.148 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.5911, allocations: 33.19 kB / 408.9 MB, free: 8.137 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-05/0.5911, allocations: 57.38 kB / 408.9 MB, free: 8.133 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006728/0.5918, allocations: 390 kB / 409.3 MB, free: 7.941 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5918, allocations: 0 / 409.3 MB, free: 7.941 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004125/0.5923, allocations: 42.75 kB / 409.3 MB, free: 7.941 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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.001147/0.5934, allocations: 1.073 MB / 410.4 MB, free: 7.109 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006681/0.5941, allocations: 440.8 kB / 410.8 MB, free: 6.828 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5942, allocations: 0 / 410.8 MB, free: 6.828 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003642/0.5945, allocations: 373.3 kB / 411.2 MB, free: 6.566 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008139/0.5954, allocations: 104.7 kB / 411.3 MB, free: 6.527 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/0.5986, allocations: 1.635 MB / 412.9 MB, free: 5.543 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.599, allocations: 0.815 MB / 413.8 MB, free: 4.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.864e-05/0.5991, allocations: 27.95 kB / 413.8 MB, free: 4.758 MB / 314.7 MB Notification: Performance of SimCode: time 1.272e-06/0.5991, allocations: 0 / 413.8 MB, free: 4.758 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.671/3.27, allocations: 3.129 MB / 416.9 MB, free: 3.156 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.NRXFER_res.mat does not exist to compare? outputFormat=mat