Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 112.9 kB / 17.06 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 200 kB / 18.01 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 51.92 kB / 350.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2928, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002869/0.2957, allocations: 1.491 MB / 401.7 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.2975, allocations: 0.8555 MB / 402.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.026e-05/0.2976, allocations: 0 / 402.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.2978, allocations: 11.92 kB / 402.6 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.376e-05/0.2979, allocations: 15.8 kB / 402.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.2981, allocations: 43.95 kB / 402.7 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000293/0.2984, allocations: 147.7 kB / 402.8 MB, free: 6.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.2986, allocations: 32.19 kB / 402.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007267/0.2993, allocations: 0.5771 MB / 403.4 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.2995, allocations: 67.7 kB / 403.5 MB, free: 5.547 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.436e-05/0.2996, allocations: 12 kB / 403.5 MB, free: 5.535 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.82e-05/0.2996, allocations: 8 kB / 403.5 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.577e-05/0.2997, allocations: 63.77 kB / 403.6 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.2998, allocations: 119.1 kB / 403.7 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003712/0.3002, allocations: 374.6 kB / 404 MB, free: 4.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3002, allocations: 0 / 404 MB, free: 4.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3002, allocations: 0 / 404 MB, free: 4.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.3003, allocations: 4 kB / 404 MB, free: 4.977 MB / 318.1 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.0008271/0.3011, allocations: 0.7127 MB / 404.8 MB, free: 4.191 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3011, allocations: 8.031 kB / 404.8 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.854e-05/0.3012, allocations: 54.66 kB / 404.8 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.901e-05/0.3013, allocations: 32.56 kB / 404.8 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.3016, allocations: 274.3 kB / 405.1 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.3016, allocations: 4.375 kB / 405.1 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.3016, allocations: 8.375 kB / 405.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.302, allocations: 137.7 kB / 405.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.302, allocations: 0 / 405.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.302, allocations: 7.984 kB / 405.3 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.302, allocations: 3.984 kB / 405.3 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.3022, allocations: 63.91 kB / 405.3 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007057/0.3029, allocations: 456.6 kB / 405.8 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.3031, allocations: 102.5 kB / 405.9 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.3032, allocations: 84.94 kB / 406 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.672e-06/0.3032, allocations: 0 / 406 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003642/0.3036, allocations: 206.7 kB / 406.2 MB, free: 2.637 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.923e-06/0.3036, allocations: 0 / 406.2 MB, free: 2.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007969/0.3044, allocations: 479.9 kB / 406.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.027e-05/0.3045, allocations: 170.1 kB / 406.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006241/0.3052, allocations: 0.5169 MB / 407.3 MB, free: 1.402 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.3052, allocations: 29.7 kB / 407.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.689e-05/0.3053, allocations: 101.1 kB / 407.4 MB, free: 1.266 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.3053, allocations: 27.7 kB / 407.5 MB, free: 1.238 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.3054, allocations: 85.31 kB / 407.6 MB, free: 1.148 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3055, allocations: 326.8 kB / 407.9 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.3057, allocations: 59.97 kB / 407.9 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.3058, allocations: 73.69 kB / 408 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/0.3062, allocations: 350.5 kB / 408.3 MB, free: 296 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3062, allocations: 0 / 408.3 MB, free: 296 kB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005352/0.3067, allocations: 388.4 kB / 408.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.912e-05/0.3068, allocations: 122.8 kB / 408.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3068, allocations: 4 kB / 408.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.3068, allocations: 8.031 kB / 408.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.916e-05/0.3069, allocations: 0 / 408.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3069, allocations: 0 / 408.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.307, allocations: 19.92 kB / 408.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.038e-05/0.3071, allocations: 52 kB / 408.9 MB, free: 15.65 MB / 334.1 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,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003166/0.3074, allocations: 362.8 kB / 409.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/0.3075, allocations: 39.53 kB / 409.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.126e-05/0.3076, allocations: 67.14 kB / 409.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3076, allocations: 4 kB / 409.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3076, allocations: 0 / 409.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3076, allocations: 4 kB / 409.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009336/0.3085, allocations: 0.8173 MB / 410.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3085, allocations: 0 / 410.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.283e-05/0.3086, allocations: 0 / 410.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3086, allocations: 0 / 410.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.3086, allocations: 16 kB / 410.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.3086, allocations: 7.922 kB / 410.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3086, allocations: 7.875 kB / 410.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006364/0.3093, allocations: 0.533 MB / 410.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003222/0.3096, allocations: 248.5 kB / 411 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.083e-05/0.3097, allocations: 15.94 kB / 411 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.3098, allocations: 4 kB / 411 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.3099, allocations: 31.89 kB / 411.1 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.893e-05/0.31, allocations: 60.06 kB / 411.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00044/0.3104, allocations: 390.9 kB / 411.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3104, allocations: 4 kB / 411.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002826/0.3107, allocations: 40 kB / 411.6 MB, free: 12.85 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009638/0.3117, allocations: 1.094 MB / 412.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005549/0.3123, allocations: 437.5 kB / 413.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3123, allocations: 64 / 413.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003761/0.3127, allocations: 381.6 kB / 413.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006475/0.3133, allocations: 123.1 kB / 413.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/0.3167, allocations: 2.749 MB / 416.3 MB, free: 7.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.3171, allocations: 0.8097 MB / 417.1 MB, free: 7.004 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.122e-05/0.3172, allocations: 4.672 kB / 417.1 MB, free: 7 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.437e-05/0.3173, allocations: 35.42 kB / 417.2 MB, free: 6.965 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3173, allocations: 0 / 417.2 MB, free: 6.965 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.79/3.107, allocations: 6.133 MB / 423.3 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/17.19, allocations: 8.062 kB / 423.3 MB, free: 0.8359 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,nRXFERGATE.y Variables in the result:e_table.n,e_table.t[1],e_table.t[2],e_table.t[3],e_table.x[1],e_table.x[2],e_table.x[3],e_table.y,e_table.y0,nRXFERGATE.enable,nRXFERGATE.tHL,nRXFERGATE.tLH,nRXFERGATE.x,nRXFERGATE.y,time,x_table.n,x_table.t[1],x_table.t[2],x_table.x[1],x_table.x[2],x_table.y,x_table.y0