Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.445/2.445, allocations: 194.9 MB / 211.1 MB, free: 8.57 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003565, allocations: 12 kB / 264.1 MB, free: 3.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.352, allocations: 44.5 MB / 308.6 MB, free: 12.79 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1805/0.5325, allocations: 77.12 MB / 385.7 MB, free: 15.56 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003353/0.5329, allocations: 71.95 kB / 385.7 MB, free: 15.49 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06002/0.593, allocations: 16.42 MB / 402.2 MB, free: 15.08 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.593, allocations: 0 / 402.2 MB, free: 15.08 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.5931, allocations: 4 kB / 402.2 MB, free: 15.08 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009006/0.594, allocations: 0.6643 MB / 402.8 MB, free: 14.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.594, allocations: 8.031 kB / 402.8 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.401e-05/0.5941, allocations: 38.56 kB / 402.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.074e-05/0.5942, allocations: 39.58 kB / 402.9 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004067/0.5946, allocations: 257.4 kB / 403.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.5947, allocations: 8 kB / 403.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.656e-05/0.5947, allocations: 8 kB / 403.2 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004224/0.5952, allocations: 129.6 kB / 403.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.5952, allocations: 0 / 403.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.5952, allocations: 4 kB / 403.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.5952, allocations: 3.938 kB / 403.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002657/0.5955, allocations: 63.92 kB / 403.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.5965, allocations: 468.5 kB / 403.8 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.5969, allocations: 94.55 kB / 403.9 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.5969, allocations: 0 / 403.9 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004658/0.5974, allocations: 214.7 kB / 404.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.435e-06/0.5974, allocations: 0 / 404.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001464/0.5989, allocations: 0.6075 MB / 404.7 MB, free: 12.22 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/0.599, allocations: 170.2 kB / 404.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.6001, allocations: 468.5 kB / 405.4 MB, free: 11.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.916e-05/0.6001, allocations: 29.7 kB / 405.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.991e-05/0.6002, allocations: 101.1 kB / 405.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6e-05/0.6003, allocations: 23.72 kB / 405.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.6004, allocations: 11.94 kB / 405.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.6005, allocations: 322.8 kB / 405.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.6008, allocations: 55.97 kB / 405.9 MB, free: 11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.601, allocations: 77.67 kB / 406 MB, free: 10.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/0.6013, allocations: 163.2 kB / 406.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.6014, allocations: 0 / 406.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001007/0.6024, allocations: 384.3 kB / 406.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.6025, allocations: 122.8 kB / 406.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.6026, allocations: 0 / 406.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.6026, allocations: 3.953 kB / 406.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.096e-05/0.6026, allocations: 7.984 kB / 406.6 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.6026, allocations: 0 / 406.6 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.6029, allocations: 16.03 kB / 406.7 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.603, allocations: 59.88 kB / 406.7 MB, free: 10.09 MB / 346.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.00061/0.6036, allocations: 366.8 kB / 407.1 MB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.008e-05/0.6037, allocations: 43.52 kB / 407.1 MB, free: 9.656 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.6039, allocations: 59.16 kB / 407.2 MB, free: 9.602 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.6039, allocations: 0 / 407.2 MB, free: 9.602 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.6039, allocations: 4.062 kB / 407.2 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.604, allocations: 7.938 kB / 407.2 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.6055, allocations: 0.794 MB / 408 MB, free: 8.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.6056, allocations: 0 / 408 MB, free: 8.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.798e-05/0.6056, allocations: 3.984 kB / 408 MB, free: 8.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.6056, allocations: 3.938 kB / 408 MB, free: 8.707 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.467e-05/0.6057, allocations: 19.95 kB / 408 MB, free: 8.688 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.6057, allocations: 0 / 408 MB, free: 8.688 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.6057, allocations: 0 / 408 MB, free: 8.688 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.6068, allocations: 0.5175 MB / 408.5 MB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005553/0.6074, allocations: 252.4 kB / 408.8 MB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.6075, allocations: 8.25 kB / 408.8 MB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.6078, allocations: 19.95 kB / 408.8 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.6079, allocations: 23.97 kB / 408.8 MB, free: 7.812 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.608, allocations: 63.92 kB / 408.9 MB, free: 7.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007983/0.6089, allocations: 386.9 kB / 409.3 MB, free: 7.375 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6089, allocations: 0 / 409.3 MB, free: 7.375 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004892/0.6094, allocations: 40 kB / 409.3 MB, free: 7.336 MB / 346.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.001546/0.6109, allocations: 1.078 MB / 410.4 MB, free: 6.207 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008548/0.6118, allocations: 437.5 kB / 410.8 MB, free: 5.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.6118, allocations: 0 / 410.8 MB, free: 5.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005196/0.6124, allocations: 377.6 kB / 411.2 MB, free: 5.312 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008083/0.6132, allocations: 109.4 kB / 411.3 MB, free: 5.203 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/0.6172, allocations: 1.595 MB / 412.9 MB, free: 3.551 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005958/0.6179, allocations: 0.8103 MB / 413.7 MB, free: 2.711 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.338e-05/0.618, allocations: 8.672 kB / 413.7 MB, free: 2.699 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.76e-05/0.6181, allocations: 27.42 kB / 413.7 MB, free: 2.672 MB / 346.7 MB Notification: Performance of SimCode: time 1.402e-06/0.6181, allocations: 0 / 413.7 MB, free: 2.672 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3012/0.9193, allocations: 5.303 MB / 419 MB, free: 95.84 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002225/0.9196, allocations: 177.2 kB / 419.2 MB, free: 95.6 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.603/3.522, allocations: 0 / 419.2 MB, free: 95.6 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER_res.mat does not exist to compare? outputFormat=mat