Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER.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.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.728/1.728, allocations: 171.1 MB / 186.1 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005614/0.0005616, allocations: 12 kB / 233.4 MB, free: 2.266 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08627/0.08688, allocations: 38.76 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3512/0.4381, allocations: 71.79 MB / 343.9 MB, free: 1.414 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003317/0.4385, allocations: 78.14 kB / 344 MB, free: 1.371 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06189/0.5005, allocations: 16.39 MB / 360.4 MB, free: 3.719 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.5005, allocations: 0 / 360.4 MB, free: 3.719 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.5005, allocations: 4 kB / 360.4 MB, free: 3.715 MB / 282.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.000855/0.5014, allocations: 0.6664 MB / 361.1 MB, free: 2.996 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.5015, allocations: 8.031 kB / 361.1 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.334e-05/0.5015, allocations: 42.05 kB / 361.1 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.081e-05/0.5016, allocations: 39.53 kB / 361.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.502, allocations: 263.4 kB / 361.4 MB, free: 2.609 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.5021, allocations: 11.44 kB / 361.4 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.5021, allocations: 8 kB / 361.4 MB, free: 2.594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004196/0.5025, allocations: 126.3 kB / 361.5 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.5026, allocations: 0 / 361.5 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.5026, allocations: 7.984 kB / 361.6 MB, free: 2.477 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.5026, allocations: 0 / 361.6 MB, free: 2.477 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002239/0.5029, allocations: 59.91 kB / 361.6 MB, free: 2.434 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008991/0.5038, allocations: 482.5 kB / 362.1 MB, free: 1.973 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.5041, allocations: 93.36 kB / 362.2 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.5041, allocations: 0 / 362.2 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000418/0.5045, allocations: 206.5 kB / 362.4 MB, free: 1.699 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.324e-06/0.5045, allocations: 0 / 362.4 MB, free: 1.699 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.001281/0.5058, allocations: 0.612 MB / 363 MB, free: 1.094 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.506, allocations: 169.7 kB / 363.2 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009214/0.5069, allocations: 469.2 kB / 363.6 MB, free: 0.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.507, allocations: 32.58 kB / 363.6 MB, free: 476 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.293e-05/0.507, allocations: 94.89 kB / 363.7 MB, free: 388 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.019e-05/0.5071, allocations: 34.81 kB / 363.8 MB, free: 356 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/0.5072, allocations: 4 kB / 363.8 MB, free: 352 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.5073, allocations: 324.1 kB / 364.1 MB, free: 24 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.5075, allocations: 58.41 kB / 364.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.5078, allocations: 71.75 kB / 364.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.5081, allocations: 165 kB / 364.4 MB, free: 15.76 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5081, allocations: 0 / 364.4 MB, free: 15.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008421/0.5089, allocations: 374.9 kB / 364.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/0.5091, allocations: 135.4 kB / 364.9 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.5091, allocations: 0 / 364.9 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.5091, allocations: 0 / 364.9 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.264e-05/0.5091, allocations: 32 / 364.9 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.5091, allocations: 11.94 kB / 364.9 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.5094, allocations: 15.89 kB / 364.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.5095, allocations: 59.89 kB / 365 MB, free: 15.19 MB / 298.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.0005236/0.51, allocations: 363.6 kB / 365.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.625e-05/0.5101, allocations: 35.62 kB / 365.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.5103, allocations: 62.41 kB / 365.4 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5103, allocations: 0 / 365.4 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5103, allocations: 4 kB / 365.4 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.5103, allocations: 3.984 kB / 365.4 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.5118, allocations: 0.8025 MB / 366.2 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.5119, allocations: 0 / 366.2 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.024e-05/0.5119, allocations: 0 / 366.2 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.5119, allocations: 0 / 366.2 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.68e-05/0.512, allocations: 15.98 kB / 366.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.512, allocations: 0 / 366.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.512, allocations: 3.938 kB / 366.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.513, allocations: 0.5248 MB / 366.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005201/0.5135, allocations: 243.2 kB / 367 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.858e-05/0.5136, allocations: 15.12 kB / 367 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.5139, allocations: 19.27 kB / 367 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.5141, allocations: 23.53 kB / 367.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.5142, allocations: 63.36 kB / 367.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007525/0.5149, allocations: 385.5 kB / 367.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.515, allocations: 4 kB / 367.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004055/0.5154, allocations: 45.45 kB / 367.6 MB, free: 12.76 MB / 298.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.001385/0.5168, allocations: 1.075 MB / 368.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007527/0.5176, allocations: 435.3 kB / 369.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5176, allocations: 64 / 369.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004551/0.518, allocations: 381.6 kB / 369.4 MB, free: 10.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000808/0.5189, allocations: 98.58 kB / 369.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003566/0.5224, allocations: 1.59 MB / 371.1 MB, free: 9.434 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005831/0.5231, allocations: 0.8154 MB / 371.9 MB, free: 8.602 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.197e-05/0.5232, allocations: 8.656 kB / 371.9 MB, free: 8.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.058e-05/0.5233, allocations: 32.42 kB / 372 MB, free: 8.57 MB / 298.7 MB Notification: Performance of SimCode: time 1.543e-06/0.5233, allocations: 0 / 372 MB, free: 8.57 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02842/0.5517, allocations: 5.313 MB / 377.3 MB, free: 3.234 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003404/0.5521, allocations: 169.2 kB / 377.4 MB, free: 2.996 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.413/2.965, allocations: 0 / 377.4 MB, free: 2.996 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER_res.mat does not exist to compare? outputFormat=mat