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.NXFER.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.NXFER,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_NXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.695/1.695, allocations: 171.2 MB / 186.1 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004927/0.0004928, allocations: 8 kB / 233.4 MB, free: 2.281 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1119, allocations: 38.78 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3384/0.4503, allocations: 71.79 MB / 343.9 MB, free: 1.496 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.4506, allocations: 71.16 kB / 344 MB, free: 1.461 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05729/0.5079, allocations: 16.4 MB / 360.4 MB, free: 3.805 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.508, allocations: 0 / 360.4 MB, free: 3.805 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.963e-05/0.508, allocations: 4 kB / 360.4 MB, free: 3.801 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.0009052/0.5089, allocations: 0.6638 MB / 361.1 MB, free: 3.082 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.509, allocations: 12.03 kB / 361.1 MB, free: 3.07 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.082e-05/0.5091, allocations: 42.48 kB / 361.1 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.07e-05/0.5092, allocations: 39.47 kB / 361.2 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/0.5096, allocations: 264.8 kB / 361.4 MB, free: 2.691 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.5097, allocations: 11.75 kB / 361.4 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.677e-05/0.5097, allocations: 8 kB / 361.4 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004118/0.5101, allocations: 124.5 kB / 361.6 MB, free: 2.566 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.5102, allocations: 4 kB / 361.6 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.5102, allocations: 3.688 kB / 361.6 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.5102, allocations: 4 kB / 361.6 MB, free: 2.559 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002307/0.5105, allocations: 59.41 kB / 361.6 MB, free: 2.516 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009539/0.5114, allocations: 469.8 kB / 362.1 MB, free: 2.066 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/0.5117, allocations: 97.3 kB / 362.2 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.5118, allocations: 0 / 362.2 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004273/0.5122, allocations: 205.1 kB / 362.4 MB, free: 1.789 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.114e-06/0.5122, allocations: 4 kB / 362.4 MB, free: 1.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.001326/0.5135, allocations: 0.6121 MB / 363 MB, free: 1.18 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.5137, allocations: 166 kB / 363.2 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009074/0.5146, allocations: 474 kB / 363.6 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.356e-05/0.5147, allocations: 29.7 kB / 363.6 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.07e-05/0.5148, allocations: 98.58 kB / 363.7 MB, free: 476 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.465e-05/0.5148, allocations: 27.52 kB / 363.8 MB, free: 452 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.5149, allocations: 4 kB / 363.8 MB, free: 448 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.515, allocations: 322.1 kB / 364.1 MB, free: 120 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.5152, allocations: 58.09 kB / 364.1 MB, free: 80 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.5155, allocations: 76.06 kB / 364.2 MB, free: 16 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.5158, allocations: 166.2 kB / 364.4 MB, free: 15.85 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.5158, allocations: 0 / 364.4 MB, free: 15.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008653/0.5167, allocations: 369.7 kB / 364.7 MB, free: 15.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.5168, allocations: 131.2 kB / 364.9 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5168, allocations: 3.938 kB / 364.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.5169, allocations: 4.031 kB / 364.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.442e-05/0.5169, allocations: 2.625 kB / 364.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.5169, allocations: 0 / 364.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.5172, allocations: 19.89 kB / 364.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.5173, allocations: 59.89 kB / 365 MB, free: 15.28 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.nXFERGATE.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.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.0005791/0.5179, allocations: 362.3 kB / 365.3 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.455e-05/0.518, allocations: 35.62 kB / 365.3 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.5182, allocations: 68.08 kB / 365.4 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.5182, allocations: 4.125 kB / 365.4 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.5182, allocations: 4 kB / 365.4 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.5182, allocations: 3.984 kB / 365.4 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.5198, allocations: 0.7972 MB / 366.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.5198, allocations: 0 / 366.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.424e-05/0.5198, allocations: 3.938 kB / 366.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.5198, allocations: 0 / 366.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.418e-05/0.5199, allocations: 15.98 kB / 366.2 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.5199, allocations: 0 / 366.2 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5199, allocations: 4 kB / 366.2 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.521, allocations: 0.5277 MB / 366.8 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005922/0.5216, allocations: 245 kB / 367 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.066e-05/0.5217, allocations: 7.375 kB / 367 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.522, allocations: 27.2 kB / 367 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.5222, allocations: 27.22 kB / 367.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.5223, allocations: 59.92 kB / 367.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007917/0.5231, allocations: 384.8 kB / 367.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5231, allocations: 0 / 367.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004525/0.5236, allocations: 47.02 kB / 367.6 MB, free: 12.84 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,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.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.001448/0.525, allocations: 1.072 MB / 368.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008889/0.5259, allocations: 441.2 kB / 369.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.526, allocations: 0 / 369.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001413/0.5274, allocations: 380.4 kB / 369.4 MB, free: 11.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009998/0.5285, allocations: 95.33 kB / 369.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/0.5322, allocations: 1.598 MB / 371.1 MB, free: 9.512 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006374/0.5329, allocations: 0.8156 MB / 371.9 MB, free: 8.684 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.338e-05/0.533, allocations: 5.422 kB / 371.9 MB, free: 8.676 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.805e-05/0.5331, allocations: 25.67 kB / 372 MB, free: 8.66 MB / 298.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5331, allocations: 0 / 372 MB, free: 8.66 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09398/0.6271, allocations: 5.322 MB / 377.3 MB, free: 3.316 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003337/0.6275, allocations: 172.1 kB / 377.5 MB, free: 3.074 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.367/2.995, allocations: 0 / 377.5 MB, free: 3.074 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER_res.mat does not exist to compare? outputFormat=mat