Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00135/0.00135, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001401/0.001401, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002942/0.002943, allocations: 71.88 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2856, allocations: 50.54 MB / 408.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002803/0.2885, allocations: 1.518 MB / 410.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.2904, allocations: 0.8911 MB / 411.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.655e-05/0.2905, allocations: 4 kB / 411.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.2906, allocations: 7.922 kB / 411.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.504e-05/0.2908, allocations: 15.86 kB / 411.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.291, allocations: 47.89 kB / 411.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.2913, allocations: 139.7 kB / 411.4 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.2914, allocations: 31.72 kB / 411.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000651/0.2921, allocations: 0.5576 MB / 412 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.2922, allocations: 75.75 kB / 412.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.85e-05/0.2923, allocations: 8 kB / 412.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.89e-05/0.2923, allocations: 12 kB / 412.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.2924, allocations: 63.69 kB / 412.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.2926, allocations: 115.2 kB / 412.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004097/0.293, allocations: 373.4 kB / 412.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.293, allocations: 0 / 412.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.293, allocations: 0 / 412.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.2931, allocations: 4 kB / 412.7 MB, free: 13.59 MB / 334.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.0008344/0.2939, allocations: 0.7344 MB / 413.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.2939, allocations: 8.031 kB / 413.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.162e-05/0.294, allocations: 34.75 kB / 413.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.441e-05/0.2941, allocations: 44.7 kB / 413.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.2944, allocations: 274.7 kB / 413.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.2945, allocations: 8.375 kB / 413.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.2945, allocations: 8.375 kB / 413.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.2948, allocations: 133.7 kB / 413.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2948, allocations: 4 kB / 413.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.2948, allocations: 7.938 kB / 413.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2949, allocations: 0 / 413.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.295, allocations: 59.97 kB / 414 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006909/0.2957, allocations: 472.4 kB / 414.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.2959, allocations: 94.55 kB / 414.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.2961, allocations: 84.89 kB / 414.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.2961, allocations: 0 / 414.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004183/0.2965, allocations: 206.7 kB / 414.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.814e-06/0.2966, allocations: 0 / 414.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008866/0.2974, allocations: 488.2 kB / 415.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.2976, allocations: 162.2 kB / 415.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007172/0.2983, allocations: 0.5091 MB / 415.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/0.2984, allocations: 41.69 kB / 416 MB, free: 9.961 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.667e-05/0.2984, allocations: 97.09 kB / 416.1 MB, free: 9.863 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.38e-05/0.2985, allocations: 35.77 kB / 416.1 MB, free: 9.828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.2986, allocations: 81.5 kB / 416.2 MB, free: 9.742 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.2988, allocations: 330.8 kB / 416.5 MB, free: 9.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.2989, allocations: 55.97 kB / 416.6 MB, free: 9.355 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.2991, allocations: 77.67 kB / 416.7 MB, free: 9.273 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.2995, allocations: 342.9 kB / 417 MB, free: 8.887 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.2995, allocations: 8.062 kB / 417 MB, free: 8.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005741/0.3, allocations: 388.3 kB / 417.4 MB, free: 8.469 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.3002, allocations: 130.8 kB / 417.5 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.3002, allocations: 0 / 417.5 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3002, allocations: 0 / 417.5 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.327e-05/0.3002, allocations: 4 kB / 417.5 MB, free: 8.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.3002, allocations: 0 / 417.5 MB, free: 8.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.3004, allocations: 8 kB / 417.5 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.453e-05/0.3005, allocations: 63.95 kB / 417.6 MB, free: 8.242 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.0003974/0.3009, allocations: 374.7 kB / 417.9 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/0.3009, allocations: 39.77 kB / 418 MB, free: 7.805 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.301, allocations: 63.16 kB / 418 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.301, allocations: 0 / 418 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.301, allocations: 0 / 418 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.3011, allocations: 112 / 418 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.3021, allocations: 0.8173 MB / 418.9 MB, free: 6.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3021, allocations: 4 kB / 418.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-06/0.3021, allocations: 0 / 418.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3021, allocations: 0 / 418.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.3022, allocations: 15.98 kB / 418.9 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3022, allocations: 0 / 418.9 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3022, allocations: 3.938 kB / 418.9 MB, free: 6.816 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007274/0.3029, allocations: 0.5332 MB / 419.4 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000326/0.3033, allocations: 256.6 kB / 419.7 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.312e-05/0.3033, allocations: 12 kB / 419.7 MB, free: 5.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.3034, allocations: 12.17 kB / 419.7 MB, free: 5.949 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.3036, allocations: 31.91 kB / 419.7 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.229e-05/0.3037, allocations: 63.92 kB / 419.8 MB, free: 5.855 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004864/0.3041, allocations: 386.9 kB / 420.2 MB, free: 5.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3041, allocations: 0 / 420.2 MB, free: 5.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002827/0.3044, allocations: 44 kB / 420.2 MB, free: 5.438 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.001082/0.3055, allocations: 1.1 MB / 421.3 MB, free: 4.293 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005331/0.3061, allocations: 433.5 kB / 421.7 MB, free: 3.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3061, allocations: 0 / 421.7 MB, free: 3.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003856/0.3065, allocations: 381.5 kB / 422.1 MB, free: 3.398 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006396/0.3071, allocations: 129.4 kB / 422.2 MB, free: 3.281 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003724/0.3109, allocations: 2.749 MB / 425 MB, free: 428 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005741/0.3115, allocations: 0.7983 MB / 425.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.389e-05/0.3115, allocations: 8.656 kB / 425.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.667e-05/0.3116, allocations: 27.42 kB / 425.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3116, allocations: 4 kB / 425.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02739/0.339, allocations: 6.03 MB / 431.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.834/8.173, allocations: 11.58 kB / 431.9 MB, free: 9.508 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches